Search and replace with Unix commands
Search and replace with Unix commands
- Subject: Search and replace with Unix commands
- From: Hagimeno <email@hidden>
- Date: Thu, 5 Aug 2010 00:08:01 +0000 (GMT)
Hi,
I need to search a string like '\rJohn' or '\nJohn' with another string
All the unix command (Sed, Awk...) works one line at time and the separator is usually LF.
How can I search and replace, not using pure AS because some text file are really bigger?
I would like to use do shell script using cat to read the file and some Unix command to search empty line followed by my string and replace them with something else.
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden