Re: FVWM: simple question: how execute xterm and then a script?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 17 Aug 2002 23:54:49 +0000

On 18 Aug 2002 09:38:23 +1000, Cameron Simpson wrote:
>
> Me too. Doesn't even fork an extra process.
>
> | head is more portable, read is not available in some shells like tcsh/csh.
>
> Speaking as one who predates "head" I'd had differed on this:-) (Well, at the
> least started on systems that predated "head").
>
> True, [t]csh users can't use read. But Bourne shell users can, and should.

Continuing this useless discussion. If you don't want your script to fork,
use perl and <> to read a line, or use $< in tcsh, or use a portable
solution that is not language specific like using head/sed. Some unices
have utility called line that does just what "head -1" does.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Aug 17 2002 - 18:56:05 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST