Search Results

Search: Posts Made By: NareshN
1,368
Posted By NareshN
elixir, Thank you so much its working. ...
elixir,

Thank you so much its working.
Could you please explain the command for my understanding

sed '/ContactAddress/,/Restarts/{
/Restarts/s/[0-9][0-9]*/500/
}' file



Is it...
1,368
Posted By NareshN
elixir, Thanks for your quick reply. ...
elixir,
Thanks for your quick reply.

value column may be a string also. how can i achieve this.

And one more thing, the search value(1000 or some string) and replace value(500 or a string)...
1,368
Posted By NareshN
start searching a word from the particular record on the result of first occurence change the value
Hi,
I need a script to start searching a word from the particular record on the result of first occurence i need to change the value in that record.

I have a input file like this

...
Showing results 1 to 3 of 3

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