The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Different flavours of Unix vincente UNIX for Dummies Questions & Answers 2 05-25-2006 11:00 AM
Solaris Unix vs HP Unix, Could someone point out the major differences. Hack UNIX for Dummies Questions & Answers 1 10-29-2001 01:08 PM
UNIX flavours patvdv Post Here to Contact Site Administrators and Moderators 1 07-31-2001 05:29 PM
Unix and Solaris differences theboxer01 UNIX for Dummies Questions & Answers 4 03-08-2001 10:48 AM
Newbie question about unix flavours Balaji UNIX for Dummies Questions & Answers 3 11-28-2000 01:12 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-24-2002
pbritta pbritta is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 4
Question Differences in awk between UNIX flavours

Hi,

I've been charged with the task of finding out whether the scripts which we use on our current DYNIX (Sequent) UNIX box will continue to run happily on our soon-to-be-installed Sun Solaris box.

I'm fairly certain that they'll be OK, but I've heard mutterings about awk running differently on Sun systems. All I've found out is that the tolower and toupper commands do not work because the Sun awk is from a time before awk acquired these functions.

Does anybody know whether there are any other differences in the Korn shell language between these systems, or whether Sun systems implements any other standard commands in a strange way?

Many thanks.

Phil
  #2 (permalink)  
Old 05-28-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
The original awk language is what Sun has in its awk program. At some point, the authors of awk revised the language and they called the result "new awk". At first, most vendors shipped both awk and "new awk", which the latter being in a file called nawk. That is where Sun is today. They have both awk and nawk. Other vendors discarded the old awk, and renamed nawk to be awk.

So most everybody will have the new awk, but it might be called nawk or awk. On Sun, just use nawk and you will be fine.
  #3 (permalink)  
Old 05-29-2002
pbritta pbritta is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 4
Thanks.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0