[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Rescue Linux tool svnwcrev from abandoning. Does someone have a copy we can add to github ?

From: Roelof Berg <rberg_at_berg-solutions.de>
Date: Fri, 5 Jun 2020 16:45:23 +0200

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
Received on 2020-06-05 17:01:47 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.