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

Re: svnlook changed

From: Stefan Haller <haller_at_ableton.com>
Date: 2004-11-05 10:46:38 CET

BRUGGEMAN Jens (JBRG) <Jens.Bruggeman@seco-m.be> wrote:

> The first entry is a file. The second entry: we are dealing with a directory
> because the string ends with a '/' slash. Correct?

Yes, that's the way to check for directories.

The example I sent you already handled that. It had the line

    if echo -n "$line" | egrep -q '^[AU].*[^/]$'; then

This condition is only true if the line starts with A or U *and* does
not end with a slash.

-- 
Stefan Haller
Ableton
http://www.ableton.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 5 10:47:14 2004

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.