Search Results

Search: Posts Made By: siva1612
8,133
Posted By siva1612
Problem with command line parameters
hi,
This is actually realted to a Abinitio command in a unix script. my code is

#!/bin/ksh

GRAPH_NAME=$1
shift

air sandbox run $GRAPH_NAME $* > file.lst 2>&1
if [[ $? -eq 0 ]]; then...
8,745
Posted By siva1612
Thanks Gary and Ibrahim...
Thanks Gary and Ibrahim...
8,745
Posted By siva1612
Read statement within while read loop
hi,

this is my script #!/bin/ksh
cat temp_file.dat | while read line
do
read test
if [[ $test == "1" ]]; then
break
else echo "ERROR"
fi
done


when i execute this code ,...
Showing results 1 to 3 of 3

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