Compiling Errors
Bernhard Reiter
bernhard at uwm.edu
Sun Mar 28 21:20:04 EST 1999
On Thu, Mar 18, 1999 at 06:35:52PM -0600, Bill Hughes wrote:
> On Thu, 18 Mar 1999 at 15:23:18 +0100 (MET) Agustin Lobo wrote:
> > 7. How was the command to run GISGEN and get the output bith to the
> > terminal and to a file? (We are using bash, by the way, is it
> > better than csh?).
>
> ./GISGEN.alpha | tee 2>&1 > errorfile
This doesn't work in bash, according to the man page.
> (./GISGEN.alpha > errorfile 2>&1 &); tail -f errorfile
Should work.
What about:
{ ./GISGEN.osf1 2>&1 ; } | tee -a errorfile
(-a is only for appending to errorfile)
> No opinions on bash/csh.
bash is (almost in any case) better as csh, especially as
interactive shell. Try filename completion (Tabkey) and Cursorkeys.
Note that /bin/sh on GNU/Linux System might be a bash and not
a real bourne shell.
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 288 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/19990328/12cfde9a/attachment.bin
More information about the grass-user
mailing list