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

Re: svn commit: r9278 - trunk

From: Ben Reser <ben_at_reser.org>
Date: 2004-04-03 20:44:08 CEST

On Sat, Apr 03, 2004 at 10:28:56AM -0800, Blair Zajac wrote:
> Don't you mean
>
> cd "$DIST_SANDBOX" >/dev/null 2>&1
>
> instead. The order of redirection is important. Try this in your
> own shell script on a bad directory
>
> sh-2.05b$ cd /lscklsdcjk 2>&1 >/dev/null
> sh: cd: /lscklsdcjk: No such file or directory
> sh-2.05b$ cd /lscklsdcjk >/dev/null 2>&1
> sh-2.05b$

I included the 2>&1 in error. Shouldn't have been there at all. :)

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 3 20:45:40 2004

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

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