Search Results

Search: Posts Made By: IETF
17,203
Posted By IETF
DGPickett, I agree, readibility is important...
DGPickett,

I agree, readibility is important and the if/fi structure is perhaps better from that perspective. And yes, exec() adds overhead and the built-in resources should be used as much as...
17,203
Posted By IETF
methyl/DGPicket, Thanks for offering the...
methyl/DGPicket,

Thanks for offering the working solutions. It is still a head-scratcher why the original code is not working though. I used the hints from suggested solutions to get the regex...
17,203
Posted By IETF
If I remove the ';', then it seems like sh...
If I remove the ';', then it seems like sh doesn't know when to stop looking for args to 'egrep'. Here is the output:

./aaa: line 4: [: missing `]'
egrep: ]: No such file or directory
17,203
Posted By IETF
Error : [: missing `]'
Hi,

I am attempting to test the input value for an integer. And if the value is not an integer, the intent is to complain about it and exit. Only if I can get past the syntax error, life will be...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 02:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy