Beautiful, thanks Alfred, then I’ll use it in-line and do not even need a 
script :)

>> […]echo -n `svn info | grep -e "^URL: " | sed 's/URL: //g’`[…]
> 
> Or as a one liner with printf and awk saving a few process invocations:
> 
> #!/bin/bash
> printf '{"%s"},"%d",""}\n' $(svn info | awk '/^URL:/ {print $2}') $(svn info 
> | awk '/^Revision:/ {print $2}’)
> 
> Alfred

Reply via email to