awk: multiple delimiters

$ awk -F"#|_" '{print $2}' file  how  am

Where the files are numbered as follows:

hello#how_are_you           i#am_very#well_thank#you  ^^^^^ ^^^ ^^^ ^^^           ^ ^^ ^^^^ ^^^^ ^^^^^ ^^^    1    2   3   4            1  2   3    4    5    6

Comments

Popular posts from this blog

Künefe Tarifi

Bir Word Belgesinde Kapak Harici Kaç sayfa Olduğunu Bulmak