For some reason my mail reader, (Pegasus Mail v2.55), ate some
linefeeds from a previous post, as the original text looked OK when it left the
edit window.
Correction:
On 15 Jan 99 at 23:55, Alfie Costa <[EMAIL PROTECTED]> wrote:
> handle any of these invocations: vl foo vl < foo vl --help vl
On 12 Jan 99 at 16:56, E.L. Meijer \(Eric\) <[EMAIL PROTECTED]> wrote:
> ...The problem is that the script gets its
> standard input from the pipe, and vi needs input from a tty. Your
> current tty is /dev/tty. This works:
>
> #! /bin/bash
> # mymore
>
> $TMPFILE=/tmp/mymore.$$.tmp
>
> while
On 13 Jan 99 at 11:27, E.L. Meijer \(Eric\) <[EMAIL PROTECTED]> wrote:
> Um, yeah, it looks neater :) I was just mindlessly copying the original
> poster's script. Anyway, you actually still have one superfluous
> character there :)
>
> cat > $TMPFILE
>
> is enough, so that the entire script
"E.L. Meijer \(Eric\)" <[EMAIL PROTECTED]> writes:
> cat > $TMPFILE
> is enough, so that the entire script becomes
Hm, seemingly I assumed that the header the original poster spoke
of had already been written to the tmpfile.
--
Henning Makholm
http://www.diku.dk/students/makholm
>
> "E.L. Meijer \(Eric\)" <[EMAIL PROTECTED]> writes:
>
> > while read line; do
> > echo $line >> $TMPFILE
> > done
>
> Any special reason for not simply doing
> cat >> $TMPFILE
Um, yeah, it looks neater :) I was just mindlessly copying the original
poster's script. Anyway, you actually st
"E.L. Meijer \(Eric\)" <[EMAIL PROTECTED]> writes:
> while read line; do
> echo $line >> $TMPFILE
> done
Any special reason for not simply doing
cat >> $TMPFILE
?
--
Henning Makholm
http://www.diku.dk/students/makholm
>
> Can use a hint or two with a 'bash' script...
>
> I've just downloaded and installed the basic 5 or 6 meg Hamm distribution of
> Debian. Couldn't get it to see the modem, (due to a non-Hamm problem, it
> turned
> out the ISA PNP modem had switched configs, when I'd recently flashed the
>
Can use a hint or two with a 'bash' script...
I've just downloaded and installed the basic 5 or 6 meg Hamm distribution of
Debian. Couldn't get it to see the modem, (due to a non-Hamm problem, it turned
out the ISA PNP modem had switched configs, when I'd recently flashed the
BIOS), and was tr
8 matches
Mail list logo