The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
the shell not pause when execute read command
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
the shell not pause when execute read command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
07-03-2008
vbe
Moderator
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,585
ant:/home/vbe/scripts $ all_OMC=2
ant:/home/vbe/scripts $ if [ $all_OMC -ne 1 ]^Jthen^Jprintf "Please enter a name : [>
Please enter a name : []
It does works...
So I believe it before and you dont enter the condition...
Why not try with sh -x ?
vbe
View Public Profile
Find all posts by vbe
Find vbe's past nominations received
Find vbe's present nominations given