>&

Sergey Ostrovsky sostrovsky at snip.net
Sat Dec 23 20:46:29 PST 2000


ken_i_m wrote:

> Hey Hey:
>
> I don't recall this one getting floated on the list.
>
> some_command >& err.txt
>
> Is this a macro or something? My RedHat starter system will redirect the
> screenfulls of output from make, for example, to a file that I can then
> glance through at my leisure. LFS ignores it.
>
> This does several things for me, documentation being the most important.
> Since I am back to work I can no longer "hold (any amount of) state" in my
> head. Everything I do must be self-documenting as I may not be able to get
> back to it for days and have only an hour or so when I do.
>
> I think, therefore, ken_i_m
>
> --
> Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message

Better use 2>&1 - redirect stderr to stdout. Then
$ make 2>&1 > log.lst will save stdout and errs in one file.
BTW, macros in bash ...?
Sergey Ostrovsky.



-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list