Search Results

Search: Posts Made By: oly_r
3,219
Posted By Scrutinizer
Hi, using sh script on Linux was also incorrect...
Hi, using sh script on Linux was also incorrect but your particular distribution may have been more foregiving..

wc -l adds spacing in front of the result, that is why the case statement goes...
3,219
Posted By Scrutinizer
On Solaris 9 you should use/usr/xpg4/bin/grep...
On Solaris 9 you should use/usr/xpg4/bin/grep instead of grep,

Instead of the first loop, try:
/usr/xpg4/bin/grep -vwf "$static_ip_file" "$full_file" > newfile




--
( As a side-note: the...
3,219
Posted By hanson44
I don't believe that. It does not make sense. ...
I don't believe that. It does not make sense.
sed -i also creates a temp file, behind the scenes.
If you do a test that shows sed -i is faster, could you post?

Using cat here is totally not...
6,249
Posted By Corona688
The CC variable specifies the C compiler...
The CC variable specifies the C compiler executable to use and nothing else. You need to alter the CFLAGS variable to alter the compile flags, you can't cram them in there.
1,721
Posted By complex.invoke
for i in myIPgrp{1..10}; do echo ${!i}...
for i in myIPgrp{1..10}; do
echo ${!i}
done
Forum: Solaris 06-07-2012
4,074
Posted By hicksd8
Apologies if I'm about to state the obvious stuff...
Apologies if I'm about to state the obvious stuff that you already know but let's cover a few facts here.............

The branded zone can share a network interface with the global zone or it can...
20,127
Posted By radoulov
My mistake, I didn't realize that "path" was...
My mistake,
I didn't realize that "path" was part of the record.
20,127
Posted By radoulov
It works as expected with GNU Awk, nawk and POSIX...
It works as expected with GNU Awk, nawk and POSIX (xpg) awk.
Coud you post the error message(s)?
Showing results 1 to 8 of 8

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