The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 05-10-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
I treied your script. I don't know how it got it run like that. I had to fix the sed statement. You have:
sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/AbcdeFghIjklmnopqRstuvwxyz/' -e "s/^/\'/" -e "s/$/\'/"
that first "- e" should not have a space between the - and the e. I didn't have zip, so I chaged it to "ls -l" for testing. At first I got the same errors as you. But then this worked:
eval ls -l $list_of_file