Re: Sending an EOF to a named pipe
Stephen Gonedes wrote:
Lew Pitcher <lpitcher@xxxxxxxxxxxx> writes:
< Daniel Ganek wrote:
I'm using named pipes in a bash script and I can't figure out how
to send an EOF so that the reader can exit.
I tried the obvious:
echo -e "\004" > mypipe
a stab in the dark says `echo -en "\004"' may help but doubtful. At ^Z may
work.
kill -l may help? Sighup? dunno.
Did you try looking over the "advanced bash scripting guide" available
here (free):
http://tldp.org/guides.html
.
Relevant Pages
- Re: Newbie Three
... echo "tesgform"; ... echo "suspected alien invasion case topic table"; ... echo "suspected alien invasion unknown group name"; ... (comp.lang.php) - Newbie Three
... echo "tesgform"; ... echo "suspected alien invasion case topic table"; ... echo "suspected alien invasion unknown group name"; ... (comp.lang.php) - ToDo list utility - suggestions/optimizations/refinements wanted
... For the past couple of days, I've been working on this todo list script and I'm really happy with the way it works, but wanted to post it here before I go any futher, in case anybody had suggestions for optimizations or style errors. ... echo "File written successfully." ... (comp.unix.shell) - Re: Apple Remote Desktop root vulneravility
... If you are trying to run a remote install script such as the Adobe Silent installer, use the lock screen feature in ARD. ... # umount any previous mounted installer images ... trap 'cd "$"' EXIT ... echo "This version of MacOS is not supported." ... (Bugtraq) - Re: Shell Script to Remove Old Files
... Note it needs a TSM server: ... # Verify command line arguments ... echo "\nError: $STARTDIR does not exist.\n" ... (comp.unix.admin) |
|