Search Results

Search: Posts Made By: fgoyti
5,503
Posted By fgoyti
I see, you are correct. I tried a bad syntax...
I see, you are correct. I tried a bad syntax example and it worked as expected
if [ 3 -eq 4 ];
echo wrong
fi

DOES yield a syntax error.

So, this isn't as useful as I hoped if it doesn't...
5,503
Posted By fgoyti
Debugging a script with noexec
Newbie question. I cannot get "set -n" or "set -noexec on" to work on Linux or AIX! According to the man page and what I read online, it should inform me of syntax errors without executing commands...
Showing results 1 to 2 of 2

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