![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple Array in Ksh Scripting | ravikirankethe | UNIX for Dummies Questions & Answers | 2 | 11-01-2006 08:35 AM |
| HELP me PLS... Simple Scripting! | liezer | Shell Programming and Scripting | 2 | 09-14-2006 06:50 AM |
| simple scripting question | gennaro | Shell Programming and Scripting | 3 | 06-16-2005 11:49 PM |
| Help with simple scripting actions | Nads | Shell Programming and Scripting | 5 | 04-28-2005 08:42 PM |
| any tutorials on simple scripting? | xyyz | UNIX for Dummies Questions & Answers | 3 | 03-13-2003 10:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I tried to do a search, but it couldnt pinpoint what my answer since using limited but broad keywords. Sorry in advance ; ;
Im limited to using Bourne shell scripting only, atm I have the following code (just the heading part of it) Code:
... ... # VARIABLE DECLARATION # ==================== lineCount=1 eofFlag=0 matched=0 # Ask for player name echo -n "Player name? " # < problems with this # and store it to the variable read srcStr ... ... read -n1 keyPress # < problems with this ... ... Thanks for any help.... Couldnt find any answer to my question in google, and I'm stuck and desperate. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Hi,
If possible can you post the full source....atleast from first line of ur script till the line where you get the first error.. I can take a look into it. Thanks Raghuram |
|
#3
|
||||
|
||||
|
yes as raghram said pasting full source will help.
The echo is printing -n on screen means you dont have -n option available so you can use \c(escape seq) to solve the same prob. Code:
echo "this is test\c" read x Code:
echo -n "this is test" read x |
||||
| Google The UNIX and Linux Forums |