Search Results

Search: Posts Made By: Dish
5,830
Posted By Dish
# Function Declaration Start echo -n "Enter...
# Function Declaration Start

echo -n "Enter Series Name : "
read series
echo -n "Bug Number : "
read bugNumber

n=`ade createview xyz -latest -series $series
n=`ade useview xyz` ----> here...
5,830
Posted By Dish
Executing a command in subshell
Hi All,

I am trying to create a shell script which runs on my linux machine.

The requirement is so that,
ade createview xyz -> this steps creates a view
ade useview xyz -> we are entering...
5,889
Posted By Dish
Thanks Pamu, it worked. :) And thanks to...
Thanks Pamu, it worked. :)
And thanks to zazzybob too, I will definitely look at those details once. I am sure then I will get to know where I was failing!! :b: :D
5,889
Posted By Dish
echo "******Select option:******" echo "1 -...
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...
5,889
Posted By Dish
Yes even then the errors remain same. This one...
Yes even then the errors remain same.
This one being at the top
line7 if[2=1]: command not found
5,889
Posted By Dish
what is the issue with then?
It dint change the errors. what is the issue with then?
5,889
Posted By Dish
Find error in the shell script file
echo "******Select Option:******"
echo "1 - script1"
echo "2 - script2"
echo "3 - script3 "
read option
echo "You have selected" $option"."
if["$option"="1" ]
then...
2,742
Posted By Dish
Hiding shell script code
How can we share a script without actually sharing the code?

I have 4 scripts in my system.

The end user has to execute the first file and based on the inputs (I am reading 1, 2 , 3 as options)...
4,301
Posted By Dish
And it worked!! :):) Thanks a lot buddy :)
And it worked!! :):)
Thanks a lot buddy :)
4,301
Posted By Dish
But how to make sure the tag <abc-ref> with value...
But how to make sure the tag <abc-ref> with value
abc.efg.hij.klm is the only one getting commented out? :confused::confused:
there are more than one <abc-ref> tags!
4,301
Posted By Dish
sed '/abc-ref/,/abc-ref/s/^/# /' file This code...
sed '/abc-ref/,/abc-ref/s/^/# /' file
This code puts # in front of every line.
Firstly I want to comment only this section out, something like
<!--abc-ref>
...
4,301
Posted By Dish
Commenting Multiple lines in XML file using Shell Script
I have an xml file which has following code :

<abc-ref>
<abc-name>abc.efg.hij.klm</abc-name>
</abc-ref>


I want to comment this whole section out and I have written the following...
Showing results 1 to 12 of 12

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