Bizarre script problem

From: Trog Woolley (trog_at_email.fake)
Date: 07/31/03


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


Relevant Pages

  • Re: Form Security
    ... After all this, if no error message has been generated, the form contents are emailed to me. ... I'm no Linux guru, so I don't know what someone could do to cause problems with this script, other than spam me. ... What he's proposing is false security - which is worse than no security ...
    (comp.lang.php)
  • RE: Cannot Edit Logion Scripts
    ... remove the script that you would like to edit. ... Please capture a screenshot of the error message received on the client ... Microsoft Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Error in script of Internet Explorer
    ... Uncheck the box to Display a notification about every script error. ... Windows Script 5.6 for Windows 2000 and XP ... Error Message When You Browse the Web: An Error Has Occurred in the Script ... Please reply to the newsgroup so others may benefit. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Sound file
    ... There shouldn't be any problems in the limited user accounts. ... The only other problem just about has to be with the attaching of the .wav ... > Common script errors messages can be eliminated by Clicking: ... >> click on the html file we get an error message and the wav file does ...
    (microsoft.public.windowsxp.accessibility)
  • Re: Monitor GUI
    ... I currently have a simple little Perl script whose job is to listen on ... a TCL window. ... red when we've gotten an error message. ... GUI never gets created. ...
    (comp.lang.perl.tk)