Search Results

Search: Posts Made By: dharmendramiet
2,735
Posted By DGPickett
For instance, if it is a ksh script and a path to...
For instance, if it is a ksh script and a path to ksh is /usr/bin/ksh, since ksh will gladly run a script as ksh script_name unlike sed where you say sed -f script_name so you need no argument, the...
2,735
Posted By palsevlohit_123
Before making the old -> new, put a conditional...
Before making the old -> new, put a conditional check for the input with a counter.

1. use something like below for the validation
echo "asbc123" | tr -dc '[:alpha:]' #if something return...
2,735
Posted By DGPickett
break the loop when correct? Show us the loop,...
break the loop when correct? Show us the loop, or are the three tries in a line? Use a loop.
2,735
Posted By DGPickett
Do you have a #!/path/to/interpreter...
Do you have a #!/path/to/interpreter [one-option-like-f-in-sed-or-awk ] line at the top of the script and made it executable to the executing id?

Are the interpreters the same version?
Showing results 1 to 4 of 4

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