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 -->
  #5 (permalink)  
Old 04-22-2009
Fred Goldman Fred Goldman is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 25
I think I might have this figured out:


Code:
#!/usr/bin/sh
echo -n > C:/Test/File
for file in P*
do 
echo "[CTO][GSR]/ /  /|ql|[CTE]
[DOWN]" >> C:/Test/File
done
cd usr/tmp
for file in *
do
    rm "$file"
done