![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to set the File Paths for Inputs and Outputs | Amruta Pitkar | UNIX for Dummies Questions & Answers | 1 | 10-31-2006 01:19 PM |
| Checking the format of inputs in a file | sendhilmani123 | Shell Programming and Scripting | 13 | 05-19-2006 03:12 PM |
| redirecting serial inputs to a file? | guilartec | Shell Programming and Scripting | 4 | 02-27-2006 07:30 PM |
| Inputs from a file | sendhil | Shell Programming and Scripting | 4 | 02-01-2006 01:48 AM |
| Reading in two inputs from a file | MadHatter | Shell Programming and Scripting | 1 | 06-29-2005 07:17 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Validating inputs from a file
Hi,
I have a file called inputs. Now that file has the values like this: 1 2 3 Now In my script called 'get.sh' I do this : exec < inputs read a b c d Now I know that there will not be any value in d. How can I check it. I need the exact condition for checking whether the variable has any value or not. Thanks in advance |
| Forum Sponsor | ||
|
|