![]() |
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 |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error ORA-06512 while running query in script | shivanete | Shell Programming and Scripting | 3 | 12-04-2008 07:45 AM |
| error in in running script | aama100 | Shell Programming and Scripting | 2 | 10-20-2008 01:52 AM |
| Error while running the script through cron jobs .Please help me on this | Sheethal | UNIX for Dummies Questions & Answers | 1 | 09-30-2008 08:31 AM |
| Error while running your script -- Balamv | balamv | Shell Programming and Scripting | 1 | 06-06-2008 08:37 AM |
| Error while running a script | HarryTellegen | UNIX for Dummies Questions & Answers | 5 | 02-05-2002 02:58 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Error occured while running a script
Hi All,
In my application, I'm getting an error as type mismatch Let me now explain the scenario, I ran a shell script which calls some other scripts. All these scripts uses the environment variables. Take for example, this script uses a variable 'PathDir'. I initiallized the value to that variable before i ran the initial script. While the process was running, I gave as '> echo $PathDir ' by mistake in the command prompt of another window. Later I could find the script was interuppted half the way with the error message as type mismatch and the process was stopped without completion. My question is, is that line which I gave by mistake would create any problem? I'm not running this script for the first time. I had run it so many times successfully for years. This is the first time I'm facing this problem. If my explaination is not enough for you to catch the point, kindly lemme know. Thanks for all you help in advance. |
|
||||
|
As per the explanation and the command you execute nothing harm should happen. But really, I cannot understand exactly what you are meaning.
But i just tried what ever you explained, and got the following script. Code:
while [ true ] do echo $ttt sleep 5 done Hope this helped, else come up with more clearer data. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|