![]() |
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 |
| How to set the File Paths for Inputs and Outputs | Amruta Pitkar | UNIX for Dummies Questions & Answers | 1 | 10-31-2006 05:19 PM |
| Checking the format of inputs in a file | sendhilmani123 | Shell Programming and Scripting | 13 | 05-19-2006 06:12 PM |
| redirecting serial inputs to a file? | guilartec | Shell Programming and Scripting | 4 | 02-27-2006 11:30 PM |
| Inputs from a file | sendhil | Shell Programming and Scripting | 4 | 02-01-2006 05:48 AM |
| Reading in two inputs from a file | MadHatter | Shell Programming and Scripting | 1 | 06-29-2005 10:17 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|