Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Find and replace in file

$
0
0
Hi,
I have some large csv files, some above 700 megabytes and i need to find and replace a part of a string. I just read about 'sed' and it's simple command but how do I type the command if I want to replace "/Category" with "old/Cat egory/" without quotes. The / needs to be escaped somehow so that 'sed' doesn't take it as a parameter delimiter right?
If you guys have some other suggestions on how to edit these large csv files please post them here.
Libre office works for files under 300 megabytes, but above that it becomes unresponsive.
Thanks!

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>