Article View: es.comp.os.linux.programacion
Article #7696"Transponer" u fichero de texto.
From: Han Solo
Date: Fri, 07 Feb 2003 15:44
Date: Fri, 07 Feb 2003 15:44
49 lines
2070 bytes
2070 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hola a todos. Lo primero el problema: tengo un fichero de texto, supongamos algo como: a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5 d1 d2 d3 d4 d5 e1 e2 e3 e4 e5 y quiero convertirlo en su "transpuesto"; a1 b1 c1 d1 e1 a2 b2 c2 d2 e2 a3 b3 c3 d3 e3 a4 b4 c4 d4 e4 a5 b5 c5 d5 e5 ...y la pregunta del mill�n. �hay alg�n comando que lo haga directamente? Estoy programando un script en perl, pero me est� quedando de un guarro que asusta. Un saludo a todos. - -- Han Solo The Rebel Alliance Emacs is not on every system So what? [...] Do you tell your administrative people to stick with notepad.exe? Do you tell your fat kids they can only have the crummy games that come with their video games or plain dress that comes with Barbie? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/> iD8DBQE+Q9Q/4FjpJaPEp20RAuuyAJ9FGWngiNZ7/qAlq1MsEkqrLJXuXgCfTsw8 51hTssae99d+ldMg0VLaZ1Q= =iOFH -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<873cn0hz9a.fsf@ietcc.csic.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!pc036.ietcc.csic.ES!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,197d58af93fd12d4,start X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-02-07 07:50:20 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!pc036.ietcc.csic.ES!not-for-mail From: Han Solo <hsolo@escomposlinux.org> Newsgroups: es.comp.os.linux.programacion Subject: "Transponer" u fichero de texto. Date: 07 Feb 2003 16:44:01 +0100 Lines: 49 Message-ID: <873cn0hz9a.fsf@ietcc.csic.es> NNTP-Posting-Host: pc036.ietcc.csic.es (161.111.230.36) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1044633018 41687699 161.111.230.36 (16 [63837]) X-Orig-Path: 127.0.0.1!nobody User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7