Linux 1.2.13: echo echoes \n

Linux 1.2.13: echo echoes \n

Post by Petras Virzint » Fri, 23 Feb 1996 04:00:00



Hi, does anyone know why "echo" does not recognise "\n", "\t" etc?

Rgds
Petras

 
 
 

Linux 1.2.13: echo echoes \n

Post by dsima.. » Fri, 23 Feb 1996 04:00:00


use the '-e' switch

: Hi, does anyone know why "echo" does not recognise "\n", "\t" etc?

: Rgds
: Petras

--
---------------------------------------------------------------------
Dieter Simader                       |      On a clear disk,

---------------------------------------------------------------------

 
 
 

Linux 1.2.13: echo echoes \n

Post by Michael Hussma » Fri, 23 Feb 1996 04:00:00




Quote:>Hi, does anyone know why "echo" does not recognise "\n", "\t" etc?

Try echo -e

--
So long,

          Michael

------------------------------------------------------

-  FF 19 14 8B E3 70 C5 49  7F DE 93 5C C2 36 E1 33  -
------------------------------------------------------

 
 
 

Linux 1.2.13: echo echoes \n

Post by Petras Virzint » Sat, 24 Feb 1996 04:00:00


: Hi, does anyone know why "echo" does not recognise "\n", "\t" etc?

I'm ashamed to say that I didn't check the man page for GNU echo. It seems
that all my scripts will require a "-e" added to the "echo" command.
Thanks for your time and sorry for the trouble.

Rgds
Petras

 
 
 

1. strange problems 1.2.13 --> 2.0.0 --> 1.2.13

Hi,

I have some strange problems with the new kernel source tree...

after the installation of the new sysvinit-2.62 the linux-2.0.0 kernel
complains sh:/bin/bash cannot execute...
with 1.99.7 this works fine
and at least I'm totally unable to recompile the 1.2.13 source tree due
some strange asm errors in main occurring in asm/io.h referenced by
bugs.h  (also within the asm tree). Of course I checked the appropriate
links to for the linux source tree /usr/include/linux
                                                asm

Please help....
 Michael

-------------------------------------------------------------------------------
        Michael Rietz                   |       Office: 13

        Werner Heisenberg Institut      |       phone:+49-(0)89-32354-242,
        Foehringer Ring 6               |                             415,411
        D-80805 Muenchen                |       fax:    +49 (0)89 3226704
                                        |
                            is there anybody OUT there...
-------------------------------------------------------------------------------

2. HELP!! Disk Partition Problem with Install of Red Hat 6.2..

3. echo $$ ; (echo $$)

4. locked /etc/passwd

5. ICMP echo and port 7 echo service

6. /~bob vs /bob

7. Local Echo vs Host Echo for tty's

8. Connecting servers over Internet to replicate data?

9. what causes kdm to echo "*" vs. no echo for password

10. diff among echo a>f; command<f; echo $a|command; command << $a; EOF

11. Q: What echoes faster than /bin/echo?

12. Looking for a brain-dead echo - i.e., an echo-like command that will pass \n

13. no echo when there should be echo