Search Results

Search: Posts Made By: frenkelor
5,152
Posted By frenkelor
sorry again $base - is the path that given to...
sorry again
$base - is the path that given to the script
and in this path($base) i need a list of all the ???.c directory
and if there is not ???.c dir.. print error
???.c-(any directory that...
5,152
Posted By frenkelor
ok $base is a directory that should end with ...
ok
$base is a directory that should end with ".c" so i wont to check if any XXX.c dirs are exist
what it's > /dev/null 2>&1
end [ $? -ne 0 ]?
5,152
Posted By frenkelor
awk returns null?
hi
i try to check if awk returns null
and i dont know how it's works

this is the command
set EndByC = `ls -l $base | awk '/.c$/ {print $9}'`
if ($EndByC=="") then #check if ther is XXX.c...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy