Search Results

Search: Posts Made By: 5211171
2,229
Posted By 5211171
Break the sed statement
I was wondering if we can break the sed command into two or more sets of command. What I mean is that rather than having everything in one line we can have

sed ...

sed...

sed ..

Can...
2,229
Posted By 5211171
Dont what this sed expression does
I am new to unix and have come across the sed expression but not sure what its doing. Can someone please tell me whats happening in the sed command below?
12,393
Posted By 5211171
Thanks for the help tene, but the...
Thanks for the help tene, but the wordToBeReplaced is stored in a variable. If you look at my previous post, I have been able to replace the word except

sed "s/Obama/threshold=$variable/"...
12,393
Posted By 5211171
Simplified
I think I have confused myself as well as the users of this website. I am sorry. I think what I need is a sed expression that you replace a line. For example, there is a line such as

Obama="No, we...
12,393
Posted By 5211171
My fist task is to find someword and replace it...
My fist task is to find someword and replace it wordToBeReplased.
I am not worrying yet to have my code go to that directory
since I am working in that directory where my xml file is located
...
12,393
Posted By 5211171
Search for word in a xml file and replace it with something else
Hello Unix Users,

I am very new to Unix so I am not sure how do I do the following.

I need a script such that when I type the following in the command prompt

> . scriptName.sh...
Showing results 1 to 6 of 6

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