The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-29-2006
happyv happyv is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 209
how can i add/modify filename after output?

Hi All,

I have a script to convert a file and output the filename with "_output", however it not work. Can help?

echo Please input list file name:
read listn
for file in `cat $listn.txt`
do
convert $file > $file_output

Thanks all!!