🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #1785

Re: la ultima de shell

#1785
From: Jesús M. NAVARRO
Date: Fri, 05 Aug 2005 13:30
20 lines
1640 bytes
Hola, XimoNW:

XimoNW escribi� en es.comp.os.linux.programacion:

> quiero que me imprima en un mismo archivo diferentes cosas, hasta ahi
> esta claro "echo XXX >> xxx.txt", pero el problema es que quiero
> escribir las cosas en una misma linea, de forma consecutiva y al
> realizar diferentes "echo's >>" me los va imprimiendo en lineas
> diferentes, con lo que me encuentro con un gran problema que no se como
> resolber

jmnav@mithrandir:~$ echo -n hola >> fichero.txt
jmnav@mithrandir:~$ echo -n adios >> fichero.txt
jmnav@mithrandir:~$ cat fichero.txt
holaadiosjmnav@mithrandir:~$

Para m�s informaci�n, `man echo`.
-- 
SALUD,
Jes�
Technical Details
Message-ID: <d86cs2-kn9.ln1@mithrandir.intranet>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!teleglobe.net!62.81.31.29.MISMATCH!cyclone.auna.com!twister.auna.com!53ab2750!not-for-mail
References: <3le2m2F11ptbkU1@individual.net> <3lh1j8F12m0ngU1@individual.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,4f55cc92aa244081
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!teleglobe.net!62.81.31.29.MISMATCH!cyclone.auna.com!twister.auna.com!53ab2750!not-for-mail
Message-ID: <d86cs2-kn9.ln1@mithrandir.intranet>
From: Jesús M. NAVARRO <jmnavarrol@able.es>
Subject: Re: la ultima de shell
Newsgroups: es.comp.os.linux.programacion
References: <3le2m2F11ptbkU1@individual.net> <3lh1j8F12m0ngU1@individual.net>
Lines: 20
User-Agent: KNode/0.8.2
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
Date: Fri, 05 Aug 2005 15:30:21 +0200
NNTP-Posting-Host: 212.97.185.214
X-Trace: twister.auna.com 1123250882 212.97.185.214 (Fri, 05 Aug 2005 16:08:02 MEST)
NNTP-Posting-Date: Fri, 05 Aug 2005 16:08:02 MEST
Organization: AUNA TLC