Skip to main content
Active reading. [ <http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29> <http://en.wikipedia.org/wiki/Microsoft_Windows>].
Source Link
Peter Mortensen
  • 31.6k
  • 22
  • 109
  • 133

This should work in bashBash, from a working directory. I've used it in windowsWindows with unixutils installed.:

svn info |grep Revision: |cut -c11-

This should work in bash, from a working directory. I've used it in windows with unixutils installed.

svn info |grep Revision: |cut -c11-

This should work in Bash, from a working directory. I've used it in Windows with unixutils installed:

svn info |grep Revision: |cut -c11-
ok, removed confusing %*
Source Link
Blorgbeard
  • 103.3k
  • 50
  • 235
  • 276

This should work in bash, from a working directory. I've used it in windows with unixutils installed.

svn info %* |grep Revision: |cut -c11-

Note that %* is batch-file for "all arguments" - not sure what the bash equivalent is. Anyway, you see the method I'm using :)

This should work in bash. I've used it in windows with unixutils installed.

svn info %* |grep Revision: |cut -c11-

Note that %* is batch-file for "all arguments" - not sure what the bash equivalent is. Anyway, you see the method I'm using :)

This should work in bash, from a working directory. I've used it in windows with unixutils installed.

svn info |grep Revision: |cut -c11-
Source Link
Blorgbeard
  • 103.3k
  • 50
  • 235
  • 276

This should work in bash. I've used it in windows with unixutils installed.

svn info %* |grep Revision: |cut -c11-

Note that %* is batch-file for "all arguments" - not sure what the bash equivalent is. Anyway, you see the method I'm using :)