![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hello,
Code:
HP Alpha Tru64
cscyabl@comet:(tstbass)> echo "00000" | awk '{if ($0 == "") {print "lol"}}'
cscyabl@comet:(tstbass)>
Code:
Sun Solaris
-bash-3.00$ echo "00000" | awk '{if ($0 == "") {print "lol"}}'
lol
-bash-3.00$
I have re-aliased awk on Solaris to use the xpg4 build. Thanks |
|
||||
|
Cheers for the reply
As we are moving all our scripts to the Solaris platform we are mostly looking for a way of setting up the environment in a way the original scripts (like the command I wrote above) work the same. I appreciate the alternatives you proposed though, but it would be even better to make the syntax work if it is possible... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|