Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2006 09:28:10 +0200 (SAST)
From:      Ryan Maclear <ryanm@miranetworks.net>
To:        "gs_stoller@juno.com" <gs_stoller@juno.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Problems with  FreeBSD 6.0
Message-ID:  <20060413092548.N10399@beasti.synapp.com>
In-Reply-To: <654019656.20060413102044@mail.ru>
References:  <20060412.154921.26277.710543@webmail06.nyc.untd.com> <654019656.20060413102044@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

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@mail.ru
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060413092548.N10399>