Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: null commands...
- X-seq: zsh-users 470
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: gwing@xxxxxxxxxxxxxxx (Geoff Wing)
- Subject: Re: null commands...
- Date: Mon, 28 Oct 1996 13:37:03 +0000 (GMT)
- Cc: hniksic@xxxxxxx, gwing@xxxxxxxxxxxxxxx, tsv@xxxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <199610281153.WAA01883@xxxxxxxxxxxxxxxxxxxxx> from "Geoff Wing" at Oct 28, 96 10:53:55 pm
>A lot of programs out there use the system() command on this, which on
>most machines does "sh" "-c" "arguments". So people strcat() the filename/s
>onto the end of the PAGER var and just system() it.
... which fails horribly when the filename contains any mildly unusual
characters. Any program that uses this method is broken.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author