top of page
ualterdafibutan

Grep-extract-substring

You could use awk . awk -F\" '{print $2}' filename. would produce the desired output. Using sed : sed 's/[^"]*"\([^"]*\).*/\1/' filename. Using grep : grep -oP ...












grep-extract-substring


Substring with cut — cut is another interesting command line utility that can be used in a whole lot of different ways to extract substrings (or columns) ... 939c2ea5af





1 view0 comments

Recent Posts

See All

Comments


bottom of page