Gregory J Paxton wrote:
>
> I'm trying to write a bash script for some menu dialog boxes. I'm
> having trouble retrieving the output written to stderr by the dialog
> program to use in my script to determine which programs to run. The man
> pages only seem to tell me how to redirect to stderr or how to write it
> to a file, but there must be a more dynamic way to retrieve the data
> without writing files to my hard disk which will have to be cleaned out
> later.
>
> Thanks in advance,
>
> greg
Cleaning the files is not a big problem , you can put them in /tmp and
delete from time to time maybe automaticaly depending on their creation date
, or put all the file in a /tmp/SomeDir directory that you remove at the end
of the script.
Most of the time , performance considerations are not much important in
scripts using dialog .Even it it seems heavy handed , writing a reply to a
file and reading that file afterwards is good enough.
--
Patrick