Differences in awk between UNIX flavours

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Differences in awk between UNIX flavours
# 1  
Old 05-24-2002
Question Differences in awk between UNIX flavours


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.

# 2  
Old 05-28-2002
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.
This User Gave Thanks to Perderabo For This Post:
# 3  
Old 05-29-2002
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX vs windows, differences

Hello! Please, I am sorry, I am the absolute beginner, If I have unix as os instead of lets say windows, then can I go to INTERNET and how? Are there some other BIG differences? Many thanks!!! (1 Reply)
Discussion started by: pinklemon
1 Replies

2. UNIX for Dummies Questions & Answers

Differences between different versions of Unix

I sent a private message to one of the administrators/moderators, but I thought I'd ask here publicly after some thought. I'm getting into Unix on my Mac (BSD). I was just wondering what the differences are between versions of Unix -- I want to learn more about it, but would it be better to... (1 Reply)
Discussion started by: Straitsfan
1 Replies

3. UNIX for Advanced & Expert Users

Where to download unix not unix flavours like ubuntu, redhat etc.

I checked unix.org but did not find any link where i can download basic unix flavour. any idea from where i can download unix. thanks in advance. - nilesh (14 Replies)
Discussion started by: ynilesh
14 Replies

4. UNIX for Dummies Questions & Answers

Bash differences on unix's

I am using bash on two different unix versions and for some reason the commands operate slightly differently. For example, 'ls * -la' gives me an error on one unix system, but works fine on a different system. The versions of unix are actually OS x and linux, and both systems are running GNU bash... (4 Replies)
Discussion started by: bongobonga
4 Replies

5. UNIX for Dummies Questions & Answers

Different flavours of Unix

Hi all, I would like to know why is there so many different kind of unix systems like IBM AIX, SUN Solaris and so on.. What are the issues that we would considering choosing a Unix system? Newbie to Unix, thus this question (2 Replies)
Discussion started by: vincente
2 Replies

6. UNIX for Dummies Questions & Answers

Solaris Unix vs HP Unix, Could someone point out the major differences.

Solaris Unix vs HP Unix, Could someone point out the major differences. I have been performing Support to Solaris Unix for about 6 years, now I am interviewing for a HP Unix position. Could someone point out the major differences? Should it be an easy transition? Thanks (1 Reply)
Discussion started by: Hack
1 Replies

7. Post Here to Contact Site Administrators and Moderators

UNIX flavours

UNIX comes in the most widest and broadest of functionalities and versions. Might be a good idea to: 1. introduce some vendor specific forums: e.g. HP-UX, Linux, AIX etc. 2. create more forums directed at core functionalities: e.g.: networking (already there), LVM, 3rd party applications... (1 Reply)
Discussion started by: patvdv
1 Replies

8. UNIX for Dummies Questions & Answers

Unix and Solaris differences

hi guys, I am the newest dumbest person who has no clue of unix and solaris. Could someone help me by telling me what the difference is? thanks... me (4 Replies)
Discussion started by: theboxer01
4 Replies

9. UNIX for Dummies Questions & Answers

Newbie question about unix flavours

Hi, I am newbie to unix. I am been immensily impressed by this forum. I have installed sun solaris in my pc and started learning unix. The question is, If i know one unix flavour (say sun solaris) is that i can claim, i know all the unix and linux flavours. Can i be able to work on other vendor... (3 Replies)
Discussion started by: Balaji
3 Replies
Login or Register to Ask a Question