![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Strange sed behaviour | vino | UNIX for Advanced & Expert Users | 8 | 02-12-2008 06:51 AM |
| A Strange Behaviour!!! | navojit dutta | Shell Programming and Scripting | 5 | 12-21-2007 04:35 AM |
| How to count the record count in an EBCDIC file. | oracle8 | UNIX for Dummies Questions & Answers | 1 | 07-26-2006 08:22 PM |
| Can some 1 explain why this behaviour | helpmenow | High Level Programming | 2 | 12-18-2005 03:28 PM |
| Behaviour of default | soorajmu | High Level Programming | 5 | 12-09-2003 12:43 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Count behaviour when using su -
Gentlemen,
OK, I have an odd issue here perhaps someone can shed some light for me. When running a script as its user/owner the below pause/wait works just fine. When a developer has used su - to assume the username the pause does not happen... This is a HPUX11.00 machine, I have copied the blurb of offending code below. list file with line numbers list_file() { modcount=0 cat /tmp/$USER.tmp | while read w1 w2 w3 w4 w5 w6; do set "$w1" "$w2" "$w3" "$w4" "$w5" "$w6" let "modcount = $COUNT % 14 " if [ $modcount -eq 0 ] then echo "\n\t\t\tPress return to continue \c" read ANS <$TTY echo "$home" echo "$down$down$down$down$down" echo "$cl_end" fi Any advice would be appreciated, Aaron |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|