diff options
author | Javier Gonel <bolibic+github@gmail.com> | 2013-12-18 18:02:19 +0200 |
---|---|---|
committer | Javier Gonel <bolibic+github@gmail.com> | 2013-12-18 18:02:19 +0200 |
commit | 12be83562d9096538848a554c4d9f0e0f30f760f (patch) | |
tree | af1627fa6b177bf437f44796f0cd4e623cdf0ae4 /share/functions/__fish_print_svn_rev.fish | |
parent | 8bcb5e4ed7e93d0a7eac2cb7ab70b0e69b965ae5 (diff) |
Non standard cut options
Some cut versions don't have `--delimiter` or `--fields` but use the standard options `-d` and `-f`
Diffstat (limited to 'share/functions/__fish_print_svn_rev.fish')
-rw-r--r-- | share/functions/__fish_print_svn_rev.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_print_svn_rev.fish b/share/functions/__fish_print_svn_rev.fish index 7b8638dc..cbc3770a 100644 --- a/share/functions/__fish_print_svn_rev.fish +++ b/share/functions/__fish_print_svn_rev.fish @@ -1,5 +1,5 @@ function __fish_print_svn_rev --description 'Print svn revisions' - svn info | grep "Last Changed Rev" | cut --delimiter " " --fields 4 + svn info | grep "Last Changed Rev" | cut -d " " -f 4 echo \{\tRevision at start of the date echo HEAD\tLatest in repository echo BASE\tBase rev of item\'s working copy |