home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!infonode!ingr!dazixcon!guinness!coy
- From: coy@guinness.NoSubdomain.NoDomain (Coy Correll)
- Subject: Re: echo question
- Message-ID: <1992Nov10.140436.4932@dazixco.ingr.com>
- Sender: coy@guinness (Coy Correll)
- Nntp-Posting-Host: guinness
- Organization: Dazix - An Intergraph Company
- References: <1992Nov9.171618.5675@midway.uchicago.edu>
- Date: Tue, 10 Nov 1992 14:04:36 GMT
- Lines: 29
-
- In article <1992Nov9.171618.5675@midway.uchicago.edu>, a-douglas@uchicago.edu (Allen Douglas) writes:
- |> I would like to echo tab and line return characters to the screen and/or
- |> understandto a file. But I must not the escaping/quoting mechanism. According
- |> to my UNIX reference I should be able to type:
- |>
- |> quads% echo Bob'\t\t'cat
- |> and get:
- |> Bob cat
- |>
- |> unfortunately I get:
- |> quads% echo Bob'\t\t'cat
- |> Bob\t\tcat
- |>
- |> What gives? Thanks in advance!
-
- The syntax you are using is for sys5 only. If you are on a
- sparcstation, you can type /usr/5bin/echo to get the desired
- results. This is fully explained in the man page for echo
- on sparcstations.
-
- |>
- |> Allen
-
- --
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Coy Correll e-mail: ccorrell@dazixco.ingr.com
- Intergraph my phone: (303) 581-2389
- 6095 Spine Road fax: (303) 581-9972
- Boulder, Colorado 80301 company phone: (303) 581-2300
-