Answers for "how to put two conditions in sed linux"

0

how to put two conditions in sed linux

sed -n -e 's/.*domain=\([^&]*\).*sdk_ver=\([^&]*\).*/\1 \2/'      \
       -e 's/.*sdk_version=\([^&]*\).*domain=\([^&]*\).*/\2 \1/'  \
       -e 's/.*domain=\([^&]*\).*sdk_version=\([^&]*\).*/\1 \2/p' \
       inputfile > outputfile
Posted by: Guest on October-20-2020

Code answers related to "how to put two conditions in sed linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language