bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My best guess is that some internal commands are not reenterant.


From: Paul Jarc
Subject: Re: My best guess is that some internal commands are not reenterant.
Date: Mon, 13 Aug 2001 11:08:58 -0400
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

root <root@c1172167-c.provo1.ut.home.com> writes:
>       echo "$val3" | urlencode | read val3

FAQ, question E4.  This works for bash:
read val3 < <(echo "$val3" | urlencode)
This works for any sh:
val3="`echo "$val3" | urlencode | head -1`"
So does this:
echo "$val3" | urlencode | (read val3; do_something_with "$val3")


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]