~bisscuitt/percona-toolkit/lsof_find

« back to all changes in this revision

Viewing changes to bin/pt-mext

  • Committer: Frank Cizmich
  • Date: 2014-09-08 19:27:40 UTC
  • mfrom: (608.1.8 release-2.2.10)
  • Revision ID: frank.cizmich@percona.com-20140908192740-uab3exq8je1qbczh
merged release-2.2.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
 
128
128
usage_or_errors() {
129
129
   local file="$1"
 
130
   local version=""
130
131
 
131
132
   if [ "$OPT_VERSION" ]; then
132
 
      local version=$(grep '^pt-[^ ]\+ [0-9]' "$file")
 
133
      version=$(grep '^pt-[^ ]\+ [0-9]' "$file")
133
134
      echo "$version"
134
135
      return 1
135
136
   fi
791
792
 
792
793
=head1 VERSION
793
794
 
794
 
pt-mext 2.2.9
 
795
pt-mext 2.2.10
795
796
 
796
797
=cut
797
798