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

2020-06-05 Thread Daniel Shahaf
Roelof Berg wrote on Fri, 05 Jun 2020 16:45 +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: > >

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

2020-06-05 Thread Roelof Berg
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:

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

2020-06-05 Thread Alfred von Campe
On Jun 5, 2020, at 8:22, Roelof Berg wrote: > > I will create a script named SubWCRev.sh with a content like: > > #!/bin/bash > echo -n "{\"" > echo -n `svn info | grep -e "^URL: " | sed 's/URL: //g'` > echo -n "\",\"" > echo -n `svn info | grep -e "^Revision: " | sed 's/Revision: //g'` > echo "\

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

2020-06-05 Thread Branko Čibej
On 05.06.2020 14:22, Roelof Berg wrote: > Update: Topic solved. > > I will create a script named SubWCRev.sh with a content like: > > #!/bin/bash > echo -n "{\"" > echo -n `svn info | grep -e "^URL: " | sed 's/URL: //g'` > echo -n "\",\"" > echo -n `svn info | grep -e "^Revision: " | sed 's/Revisio

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

2020-06-05 Thread Roelof Berg
Update: Topic solved. I will create a script named SubWCRev.sh with a content like: #!/bin/bash echo -n "{\"" echo -n `svn info | grep -e "^URL: " | sed 's/URL: //g'` echo -n "\",\"" echo -n `svn info | grep -e "^Revision: " | sed 's/Revision: //g'` echo "\",\"\"}" Thanks for your support, I don

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

2020-06-05 Thread Roelof Berg
Update: I figured out, I need only an app that generates something like this line: {"http://svnsrv/svn/entangled_amplifier/Src/spatial_folder","2",""}, For the rest I have a .bat file that assembles belows structure, which I can port to .sh. Probably https://pypi.org/project/svn/

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

2020-06-05 Thread Roelof Berg
Hi Nathan, thanks for the reference to the Windows source. I had a short look at it already and as I saw the usage of ATL I assumed it might use COM and looked further. But I can give it a second try, good idea. I also thought of using WINE, which is a bit of effort because I’m using it inside

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

2020-06-05 Thread Roelof Berg
Thanks a lot, great advice. Seems that the archive unfortunately did not archive the gz-binaries. But I’ll try harder later this day to find something there. > Am 05.06.2020 um 03:13 schrieb Daniel Shahaf : > > Roelof Berg wrote on Thu, 04 Jun 2020 15:43 +0200: >> ++