![]() |
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 expect script behavior, or am i misunderstanding expect scripting? | v1k0d3n | Shell Programming and Scripting | 2 | 12-10-2008 04:31 PM |
| shell script which will delete every thing under a directory except a single sub dire | alokjyotibal | Shell Programming and Scripting | 2 | 10-16-2008 04:53 AM |
| Strange behaviour from script in crontab | PilotGoose | Shell Programming and Scripting | 1 | 06-26-2008 10:54 AM |
| Unix "cut' and "awk" in Windows XP? | ihot | Windows & DOS: Issues & Discussions | 4 | 05-22-2008 06:24 AM |
| Perl script strange problem | vaibhav | Shell Programming and Scripting | 2 | 11-23-2006 07:08 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
When I run the script I have just created, I get a strange scenario around the following code:
echo "Check for duplicate UID's, each user should have a unique user ID (UID)"after going through most of the script and using the 'read a' as a pausing mechanism, when I hit enter at the above point instead of getting the correct value returned from the cut line, it just sits at a cursor, and hangs; it just adds a line for everytime you hit return. Now if I take the 'read a ' out at this point and just let it run right through the string works as it is supposed to. Can anyone see why it would behave in this fashion? |
| Bookmarks |
| Tags |
| cut, script. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|