Search Results

Search: Posts Made By: Ditto
1,499
Posted By junior-helper
>I'm on SunOS 5.10 Change awk to nawk and...
>I'm on SunOS 5.10

Change awk to nawk and try again.

> doesn't work for me either (Can't open -i)

-i is an option for in place editing. It's a feature of GNU sed, thus it's not available in...
1,889
Posted By Don Cragun
The standard ways to perform this comparison are:...
The standard ways to perform this comparison are:
if [ "${VAR}" = 'Value' ]
then
echo true
else
echo false
fiand:
if test "${VAR}" = 'Value'
then
echo true
else
echo false
fi...
1,889
Posted By vgersh99
the issue was spaces around '='. The quotation...
the issue was spaces around '='.
The quotation is just the BestPractice.
1,458
Posted By Perderabo
Your first shell script is defining a function...
Your first shell script is defining a function and after that it knows about that function. But other shell scripts do not. Each shell script must define its own functions.
Showing results 1 to 4 of 4

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