Bizarre script problem
From: Trog Woolley (trog_at_email.fake)
Date: 07/31/03
- Next message: Elsa: "Re: Laserjet 1000"
- Previous message: Jorge Adriano: "Where to find gmp-devel?"
- Next in thread: stephan beal: "Re: Bizarre script problem"
- Reply: stephan beal: "Re: Bizarre script problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 31 Jul 2003 13:25:11 +0000 (UTC)
Below is a fragment of a script which is returning this
error message when running on SuSE 8.1 :-
error stat'ing fd 3: Bad file descriptor
When I originally wrote the script under Redhat 7.1
it did not display this error, so what is going on?
The evaluated CMD writes to the NAMEDPIPE, and the
code below does work ie NEWV contains the contents
of the pipe. Any ideas on how to stop this error
message? I am unsure of what it is trying to tell me.
CMD=${KONSOLE}" ${LFILE} &"
eval ${CMD}
while true; do
sleep 1
read NEWV
if [[ -n ${NEWV} ]] ; then
break
fi
done < ${NAMEDPIPE}
TIA
Trog
-- Trog Woolley | trog at trogwoolley dot com (A Croweater back residing in Pommie Land with Linux) Isis Astarte Diana Hecate Demeter Kali Inanna
- Next message: Elsa: "Re: Laserjet 1000"
- Previous message: Jorge Adriano: "Where to find gmp-devel?"
- Next in thread: stephan beal: "Re: Bizarre script problem"
- Reply: stephan beal: "Re: Bizarre script problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|