Search Results

Search: Posts Made By: Dish
6,019
Posted By zazzybob
You should also ensure the scripts you're calling...
You should also ensure the scripts you're calling are in your $PATH or else specified via absolute paths.
6,019
Posted By pamu
try echo "******Select option:******" ...
try

echo "******Select option:******"
echo "1 - script1"
echo "2 - script2"
echo "3 - script3"
read option
echo "You have selected" $option"."
if [ "$option" = "1" ]
then
script1.sh...
4,377
Posted By RudiC
Try this (relying on your sed's capability to...
Try this (relying on your sed's capability to interpret EREs):$ sed -r '/<abc-ref>/ {N;N;/hij/ {s#(abc-ref)#!--\1#; s#(/abc-ref)#\1--#}}' file
<abc-ref>
<abc-name>abc.efg.saw.klm</abc-name> ...
Showing results 1 to 3 of 3

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