# You can use awk's field separator (-F) following way: $ cat file google.com/funny unix.stackexchange.com/questions isuckatunix.com/ireallydo