Non standard cut options

Some cut versions don't have `--delimiter` or `--fields` but use the standard options `-d` and `-f`
This commit is contained in:
Javier Gonel 2013-12-18 18:02:19 +02:00
parent 8bcb5e4ed7
commit 12be83562d

View file

@ -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