Article View: pl.comp.os.hp-ux
Article #4009Re: Problem ze skryptem
From: Lucyna Witkowska
Date: Fri, 20 Feb 2004 13:42
Date: Fri, 20 Feb 2004 13:42
32 lines
1388 bytes
1388 bytes
niepytajkto@poczta.onet.pl <niepytajkto@poczta.onet.pl> wrote: > a chcialbym miec: > 123 43 23 234 > 234 45 643 345 > 551 365 94 199 > ... > napisalem skrypt: > #!/bin/sh > cat plik1.txt | while read x y z w > do > printf "%s\t%s\t%s\t%s\n" $x $y $z $w > done > no i nie dziala... dostaje to samo, co w pliku. Np. #!/bin/sh while read x read y read z read w read do printf "%s\t%s\t%s\t%s\n" $x $y $z $w done <plik1.txt Pozdrowienia, LW
Technical Details
Message-ID:
<c152sq$v46$1@srv.cyf-kr.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news.nask.pl!news.cyf-kr.edu.pl!not-for-mailReferences:
<65ac.000001bb.403603c2@newsgate.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news.nask.pl!news.cyf-kr.edu.pl!not-for-mail
From: Lucyna Witkowska <ypwitkow@nospamcyf-kr.edu.pl>
Newsgroups: pl.comp.os.hp-ux
Subject: Re: Problem ze skryptem
Date: Fri, 20 Feb 2004 13:42:50 +0000 (UTC)
Organization: Academic Computer Center CYFRONET AGH
Lines: 32
Sender: Lucyna Kunert-Witkowska <ypwitkow@kinga.cyf-kr.edu.pl>
Message-ID: <c152sq$v46$1@srv.cyf-kr.edu.pl>
References: <65ac.000001bb.403603c2@newsgate.onet.pl>
NNTP-Posting-Host: kinga.cyf-kr.edu.pl
X-Trace: srv.cyf-kr.edu.pl 1077284570 31878 149.156.2.32 (20 Feb 2004 13:42:50 GMT)
X-Complaints-To: news@cyf-kr.edu.pl
NNTP-Posting-Date: Fri, 20 Feb 2004 13:42:50 +0000 (UTC)
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (HP-UX/B.11.11 (9000/800))
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit