On Fri, May 31, 2002 at 04:17:08PM +0800, Clone wrote:

> on Friday, May 31, 2002, 10:32:45 AM, iyal wrote:
> 
> > cara laen sebaris :
> 
> > cat qmail-1.03.tar.gz | gunzip | tar xvf -
> 
> gimana kalao: gunzip qmail-bla.bla.tar.gz | tar zvf -  SOL.

Ini nggak akan jalan, karena dash pada tar itu (-) memerintahkan si tar
itu untuk ngambil data dari standard input, bukan file.

Jadi hasilnya sbb:
io% ls
qmail-1.03.tar.gz
io% uname -a
SunOS io 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Blade-1000
io% gunzip qmail-1.03.tar.gz | tar xvf -
tar: blocksize = 0
io%

kalau anda mau juga pakai model seperti itu ya pakai zcat

zcat -c qmail-1.03.tar.gz | tar xvf -
atau
gunzip -c qmail-1.03.tar.gz | tar xvf -
-c itu menandakan agar outputnya dikirim sebagai standard output.
io% !!
gunzip -c qmail-1.03.tar.gz | tar xvf -
x qmail-1.03, 0 bytes, 0 tape blocks
x qmail-1.03/BLURB, 2473 bytes, 5 tape blocks
x qmail-1.03/BLURB2, 1180 bytes, 3 tape blocks
x qmail-1.03/BLURB3, 3840 bytes, 8 tape blocks
x qmail-1.03/BLURB4, 2660 bytes, 6 tape blocks
x qmail-1.03/README, 14292 bytes, 28 tape blocks
x qmail-1.03/FAQ, 23412 bytes, 46 tape blocks
x qmail-1.03/INSTALL, 2534 bytes, 5 tape blocks
x qmail-1.03/INSTALL.alias, 2049 bytes, 5 tape blocks
x qmail-1.03/INSTALL.ctl, 1638 bytes, 4 tape blocks
x qmail-1.03/INSTALL.ids, 2912 bytes, 6 tape blocks
x qmail-1.03/INSTALL.maildir, 2475 bytes, 5 tape blocks
x qmail-1.03/INSTALL.mbox, 2420 bytes, 5 tape blocks
x qmail-1.03/INSTALL.vsm, 1849 bytes, 4 tape blocks
x qmail-1.03/REMOVE.sendmail, 1278 bytes, 3 tape blocks
x qmail-1.03/REMOVE.binmail, 552 bytes, 2 tape blocks
x qmail-1.03/TEST.deliver, 3787 bytes, 8 tape blocks
x qmail-1.03/TEST.receive, 1309 bytes, 3 tape blocks
x qmail-1.03/UPGRADE, 2469 bytes, 5 tape blocks
x qmail-1.03/THOUGHTS, 19259 bytes, 38 tape blocks
x qmail-1.03/TODO, 713 bytes, 2 tape blocks
x qmail-1.03/THANKS, 7013 bytes, 14 tape blocks
x qmail-1.03/CHANGES, 82127 bytes, 161 tape blocks
x qmail-1.03/SECURITY, 6014 bytes, 12 tape blocks
x qmail-1.03/INTERNALS, 6958 bytes, 14 tape blocks
x qmail-1.03/SENDMAIL, 3105 bytes, 7 tape blocks
x qmail-1.03/PIC.local2alias, 1272 bytes, 3 tape blocks
x qmail-1.03/PIC.local2ext, 1550 bytes, 4 tape blocks
x qmail-1.03/PIC.local2local, 1447 bytes, 3 tape blocks
x qmail-1.03/PIC.local2rem, 1265 bytes, 3 tape blocks
x qmail-1.03/PIC.local2virt, 1709 bytes, 4 tape blocks
x qmail-1.03/PIC.nullclient, 1297 bytes, 3 tape blocks
x qmail-1.03/PIC.relaybad, 300 bytes, 1 tape blocks
x qmail-1.03/PIC.relaygood, 1127 bytes, 3 tape blocks
x qmail-1.03/PIC.rem2local, 1333 bytes, 3 tape blocks
^Cio%

etc.




-- 
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3

Kirim email ke