|
From: | Peng Yu |
Subject: | how to replace tab by '\t' (literally) with tr? |
Date: | Mon, 28 Dec 2009 15:21:54 -0600 |
I have the following file head.txt. I'm wondering what the correct way is to change the tab to a backslash and the character 't'. $ tr "\t" "\\t" <head.txt a a b c $ cat head.txt a a b c
[Prev in Thread] | Current Thread | [Next in Thread] |