[PLUG] pulling data from a file to a variable

Richard Kurth rkurth at starband.net
Wed Jun 16 00:01:01 UTC 2004


How can I get the data that is in a file into a variable at the Command
line.
The file only has one line it it and I what to read the file and add
that one line to a variable.
I know cat file_name will show the data to the screen
so I tried  VAR1=[cat file_name] but that does not work.



  

-- 
Best regards,
 Richard                          mailto:rkurth at starband.net





More information about the PLUG mailing list