I want to insert '.'
between every character in a given input string and then use it as an argument in a pipe
I am doing one of the following:
tail -f file.txt | grep -a 'R.e.s.u.l.t.'
tail -f file.txt | awk '/R.e.s.u.l.t./'
How can I just type 'Result'
and pass it as the regex argument to grep
when
receiving input from a buffer created by tail -f
by using additional bash
default functions