HP3000-L Archives

July 2002, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dennis Handly <[log in to unmask]>
Reply To:
Dennis Handly <[log in to unmask]>
Date:
Tue, 16 Jul 2002 07:02:03 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
 Jeff Woods ([log in to unmask]) wrote:
: The "tar" command doesn't read a list of files from stdin; it takes them
: as arguments on the command line.

cpio reads from stdin.

: "cat" to insert the contents of the indirect file into the command-line:
:         tar cvf test.tar $(cat indirect.file)

Never ever use cat for this, unless you want to copy from a file to file.
Or combine several files.  Just use "<":
          tar -cvf test.tar $(< indirect.file)

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2