Search Results

Search: Posts Made By: akdwivedi
5,072
Posted By akdwivedi
As I stated above, it may not be the best...
As I stated above, it may not be the best approach. 'sed' searches for [search string] and replaces it with [replace string]

As per your requirement, you want the search string as well as the...
5,072
Posted By akdwivedi
What's the problem with the SED script. can u...
What's the problem with the SED script. can u give a small example for the illustration of the problem.

Abhi.
5,072
Posted By akdwivedi
You can also try sed place all the replace...
You can also try sed

place all the replace instances in a file ( sed_file) with entries
s/[search string1]/[replace string1]/g
s/[search string2]/[replace string2]/g

Then to make the...
9,085
Posted By akdwivedi
su to another user in shell script
Hi All,
I want some help in creating a shell script. I am running a script thru user1, then I need to su to user2, run a script from that user and return back to user1 and proceed further....
6,946
Posted By akdwivedi
Thanks Jacoden, its working now !!
Thanks Jacoden, its working now !!
6,946
Posted By akdwivedi
Thanks a lot this works. Abhi.
Thanks a lot this works.

Abhi.
6,946
Posted By akdwivedi
Hi Jacoden I tried it , but i have lost my...
Hi Jacoden

I tried it , but i have lost my de-limiters '~' and got only space instead.

Abhi.
6,946
Posted By akdwivedi
How to insert at a particular position in flat file
Hi All,
I have a flat file with ~ as de-limiter (e.g: aaa~ba a~caa~0~d~e)
What I want is check if the 4th character is 0 and replace it with say 4. So now it becomes : aaa~ba a~caa~4~d~e.
...
Showing results 1 to 8 of 8

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