[GRASS-user] Re: [GRASS-dev] Re: [GRASSLIST:962] Re: GRASS and vector lines: how can I change the direction of digitized lines?

Huidae Cho grass4u at gmail.com
Tue May 30 18:19:53 EDT 2006


Maciek,

FYI, "> /dev/null 2>&1" will suppress stderr messages as well as stdout while
"2>&1 > /dev/null" won't.

Check this page: http://geni.ath.cx/unix.html#toc6

Huidae Cho


On Tue, May 30, 2006 at 11:53:48PM +0200, Maciek Sieczka wrote:
> On Tue, 23 May 2006 21:47:37 +0200
> Maciek Sieczka <werchowyna at epf.pl> wrote:
> 
> > Needless to say, as normal "> /dev/null" doesn't any help in case of
> > v.patch and v.clean output, I like [1] more than [2] and would like to
> > use ">&1> /dev/null" in my script to reduce v.patch and v.clean
> > verbosity, while leaving them able to issue warnings and errors still.
> 
> OK, user error. "> /dev/null" works as expected, ">&1> /dev/null" or
> ">&2> /dev/null" don't do any magic difference actually, in spite of
> what I claimed. All the confussion comes from my too numerous trial and
> error late at night, trying to filter out v.clean and v.patch output (to
> no avail), which print to stderr things that should go stdout instead.
> 
> Sorry for the mess, still new to bash and coreutils, but learning :).
> 
> Maciek
> 
> --------------------
> W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
> http://katalog.panoramainternetu.pl/
> 
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser




More information about the grass-user mailing list