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

Re: svn and shell scripts: managing properties

From: Marc Haisenko <haisenko_at_comdasys.com>
Date: 2006-03-10 12:01:26 CET

On Friday 10 March 2006 11:25, Jan Warnking wrote:
> - a minor annoyance of the proplist command is that it cannot be asked
> to omit the first line, which reads "Properties on 'mypath':" and which
> does not actually contain property names. I expected either the --quiet
> or the --non-interactive switch to do that for me. The former does not
> exist for propedit, the latter doesn't change the output. This makes
> scripts unnecessarily cumbersome. I'm not really good at shellscripts
> yet, so any code snipped stripping that line from the output would be
> appreciated.

As work around you can use "tail +2": it gives you everything after (and
including) line 2, so you can do:
# command | tail +2
or
# tail +2 <file

C'ya,
        Marc

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Straße 7
D-80686 München
Tel:   +49 (0)89 - 548 43 33 0
Fax:   +49 (0)89 - 548 43 33 29
e-mail: haisenko@comdasys.com
http://www.comdasys.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 10 12:02:34 2006

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.