The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 04-19-2007
Helmi Helmi is offline
Registered User
 

Join Date: Apr 2007
Posts: 15
I've edited the script at
Code:
user="TEST" ' BEGIN {  path = " /home/rosman/" user "/";command = "ls" path
Where TEST is a testing dir which contained the 1st made by ennstate

Fyi, i don't login as a root, therefore i can't adduser. so, i just made a dummy dir for testing. The error state was
Code:
[rosman]: /home/rosman/TEST => backup.sh
awk: 0602-533 Cannot find or open file file.
 The source line number is 1.
And i assume that it was in the first line of the awk. Any suggestion how to fix this?

Regards,
Helmi
Reply With Quote