To replace | with ~, which one of the following commands will be used?
(a) tr ‘|\’ ‘~-‘
(b) tr ‘|\’ ‘~-‘ > emp.lst
(c) tr | ~ emp.lst
(d) !
I got this question in an interview for job.
My question comes from Unique and tr Command in division Simple Filters of Unix