mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user