Search Results

Search: Posts Made By: BatManWSL
7,965
Posted By BatManWSL
Very nice, thank you for your replies!
Very nice, thank you for your replies!
7,965
Posted By BatManWSL
perl regexp: matching the parent xml tag
Hi folks. I would like to remove the full parent (outer) xml tag from a file given a matching child (inner) tag, in a bash shell.

To be more specific, this is what I have so far:

$ cat...
2,746
Posted By BatManWSL
Perfect, that's it. Thanks a bunch! :b:
Perfect, that's it. Thanks a bunch! :b:
2,746
Posted By BatManWSL
perl regexp: no match across newlines
Hi. Here's a tricky one (at least to me):

I have a file named theFile.txt (UTF-8) that contains the following:
a
b
cWhen I execute
perl -pe 's|a.*c|d|sg' theFile.txtin bash 3.2 on MAC OS X...
Showing results 1 to 4 of 4

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