Search Results

Search: Posts Made By: Scrutinizer
4,307
Posted By Scrutinizer
Perl version of the same thing: perl -pe...
Perl version of the same thing:
perl -pe 's/.*?"(.*?)".*?/\1 /g'
4,307
Posted By Scrutinizer
It looks for 0 or more...
It looks for 0 or more characters-that-are-not-a-double-quote in front of a double quote. The zero or more characters-that-are-not-a-double-quote that follow are in parentheses, so they are group 1....
4,307
Posted By Scrutinizer
sed 's/[^"]*"\([^"]*\)"[^"]*/\1 /g'...
sed 's/[^"]*"\([^"]*\)"[^"]*/\1 /g' infile
Showing results 1 to 3 of 3

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