Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-amd64
Am Samstag, 29. Juli 2006 20:08 schrieb Mihir Sevak:
> Hello everyone,
> Can anyone guide me how to program dumb terminal software to
> redirect its output to a file?? Can a shell scrip do it ??
> thanks.
I'm not sure if I understood what you mean, but if I'm correct you could do it
like this:
#!/bin/sh
main () {
<script>
}
main >testfile
This will redirect any output from the function main to the file
named "testfile".
--
gentoo-amd64@g.o mailing list
|
|