|
my script is
line=$(awk '{if(substr($0,1,1)!="#" &&
substr($0,1,1)!=";" &&
substr($0,1,1)!=" " &&
substr($0,1,1)!="/" &&
substr($0,1,1)!="*" &&
substr($0,1,1)!="\\" &&
length($0)!=0)
{print $0}
}' filename
This works fine when i login as super user but it does not work with other user and show error.
I am still geting the error
....ksh[line]: awk: not found
ls -l file name gives
-rwxrwxrwx 1 jithin other 38388 date filename
ls -ld folder gives
drwxrwxrwx 2 jithin other 512 date foldername
|