![]() |
|
|
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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk to echo ??? | jisha | Shell Programming and Scripting | 2 | 04-11-2008 03:51 AM |
| What does echo ^[[r do? | hamsasal | UNIX for Advanced & Expert Users | 1 | 07-24-2005 02:14 PM |
| swap space / paging space | aaronh | AIX | 2 | 05-19-2004 11:06 AM |
| pageing space vs swap space | VeroL | UNIX for Dummies Questions & Answers | 1 | 01-22-2004 11:54 AM |
| echo ????? | nguda | UNIX for Dummies Questions & Answers | 1 | 06-30-2003 05:02 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
i'm running this on Linux actually. Thanks for the suggestion to use printf. This script needs to be able to execute across platforms (Unix, Linux, Solaris), from Driver's comment i assume that printf would be more portable. correct me if i'm wrong.
Thanks again!! ![]() |
|
||||
|
printf is POSIX.2 compliant - in plain English it should be available on any Unix that claims to support POSIX standards. Old system may not have it.
printf works a lot like the C library function with the same name, except it works from the command line. It's pretty cool. The reason POSIX standards exist is to help people who want have their code work correctly on different flavors of Unix. |
![]() |
| Bookmarks |
| Tags |
| linux, linux commands, solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|