Search Results

Search: Posts Made By: kaushikadya
7,156
Posted By kaushikadya
perl -pi -e 's/old_string/new_string/g'...
perl -pi -e 's/old_string/new_string/g' file_pattern

The above option worked.

Thank you all
7,156
Posted By kaushikadya
Edit a Huge one line file
We have a huge file which has just one really large line; about 500 MB. I want to
1. Count all the occurrences of a phrase
2. Replace the phrase with another.

Trying to open it using vi has not...
Showing results 1 to 2 of 2

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