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:

> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, gs.
>
> =C2=FB =EF=E8=F1=E0=EB=E8 13 =E0=EF=F0=E5=EB=FF 2006 =E3., 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>  t=
he
> 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?
>
> --
> =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC,
>  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>