Search Results

Search: Posts Made By: blito_loco
4,357
Posted By blito_loco
I works Thank all for comments
I works

Thank all for comments
4,357
Posted By blito_loco
I works echo '--yyy "test test2" sadasds...
I works

echo '--yyy "test test2" sadasds --xxx "demo demo2"' | sed 's/\(.*\)\(\".*\"\)\(.*\)\(\".*\"\)/\2 \4/g;s/\"//g'

Output: test test2 demo demo2

But, now i need obtain only text that...
4,357
Posted By blito_loco
Regular expression (sed)
Hi

I need to get text that are within ""

For example

File:
asdasd "test test2" sadasds asdda asdasd "demo demo2"

Output:
test test2 demo demo2

Any help is good

Thank you
Showing results 1 to 3 of 3

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