Problems with FreeBSD 6.0
Ryan Maclear
ryanm at miranetworks.net
Thu Apr 13 07:28:13 UTC 2006
Hi,
I haven't really been following this thread, and I'm not sure if this has
been posted here already. Appologies if this has been already.
To usually get a <tab> to be echoed, you can use
echo -e "a\tb"
Cheers,
Ryan
On Thu, 13 Apr 2006, Vyacheslav Anikin wrote:
> Здравствуйте, gs.
>
> Вы писали 13 апреля 2006 г., 2:48:44:
>
> gjc> I tried out FreeBSD 6.0 (sorry, I copied just part or
> gjc> uname -a and I got something like "LINUX 2.4.2 FreeBSD 6.0 -
> gjc> Release #0: Nov 3 09:36:13 UTC 2005 i686 i686 i386 GNU/LINUX")
> gjc> and was surprised to find that things in the echo command didn't
> gjc> work. When I typed
> gjc> echo "a\tb"
> gjc> I got a\tb , no tab replacing the "\t" Same for "\n".
> gjc> When I tried to type
> gjc> echo "<tab>b"
> gjc> where <tab> stands for hitting the tab key, when I hit <tab> the
> gjc> first time, nothing happened, when I hit it immediately afterward, I
> gjc> got an ls -A listing. I did manage to get a tab into the string
> [skipped]
>
> ok. If you want to print out <tab> you must to use sequence ^V^I.
> Where ^I is <tab> char. Or you may use <tab>-key instead of ^I.
> That there's the same. Or I something didn't understand?
>
> --
> С уважением,
> Vyacheslav mailto:ghos at mail.ru
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
More information about the freebsd-hackers
mailing list