tab character in linux
May 3, 2005 11:43 AM Subscribe
how do i print a tab character
Hi,
i don't normally use this resource for technical issues i can't solve (or i try not to) but this is proving annoying. I've spent too long working on this as it is. I am sshing to a linux box from a windows machine.
i am trying to sort a file by the last column of a text file. each row is seperated by tabs. my problem is that to use sort with tabs as the field, i actually need to type a tab character. However I can't seem to type a tab character, i think the shell won't let me. I can type tab to finish a command or file name, but i can't actually type a tab. I can type a tab in vi or emacs, but just not in the shell.
so what do i do?
sort doesn't want \t or ^l , it wants a tab.
so my question is: what is going on here, how do i work around this?
posted by alkupe to technology (11 answers total) 1 user marked this as a favorite
posted by moz at 11:50 AM on May 3, 2005 [1 favorite]