From 12be83562d9096538848a554c4d9f0e0f30f760f Mon Sep 17 00:00:00 2001 From: Javier Gonel Date: Wed, 18 Dec 2013 18:02:19 +0200 Subject: [PATCH] Non standard cut options Some cut versions don't have `--delimiter` or `--fields` but use the standard options `-d` and `-f` --- share/functions/__fish_print_svn_rev.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_print_svn_rev.fish b/share/functions/__fish_print_svn_rev.fish index 7b8638dca..cbc3770a3 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