[CentOS] Bash Question
Robert Nichols
rnicholsNOSPAM at comcast.netThu Apr 8 18:30:14 UTC 2010
- Previous message: [CentOS] Bash Question
- Next message: [CentOS] Bash Question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 04/08/2010 10:57 AM, Joseph L. Casale wrote: > Hey guys, > messing around with a snippet from a mailing list post, > > > #!/bin/bash > > mkfifo -m 666 /var/spool/my_fifo > exec 42<> /var/spool/my_fifo > > while true > do > while read -t 5 data<&42 > do > echo "data is ($data)" > done > echo "read again" > done > > > > What happens to this to invalidate the initial 'true' condition, it only runs > for a short while? Works fine for me. Define "short while" (to a geologist, that could be a few millenia). What is the exit code when your script does terminate? -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it.
- Previous message: [CentOS] Bash Question
- Next message: [CentOS] Bash Question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list