On Fri, 6 Nov 2020 13:44:08 -0800, Charles Mills wrote:

>> Why use "*" (which caused you problems previously) rather than "."
>
>Not clear on the difference. See "not a UNIX professional." Did * cause me 
>problems? I thought it was a file named -x that caused the problems. Deleting 
>the file named -x sure solved the problem!
> 
The "*" was a co-conspirator.  A contrived example -- in directory:
597 $ ls -alN  # (GNUism)
total 24
-rw-r--r-- 1 paulgilm paulgilm   32 Nov  6 15:04 --
drwxr-xr-x 2 paulgilm paulgilm 4096 Nov  6 15:04 .
drwxr-xr-x 4 paulgilm paulgilm 4096 Nov  6 14:58 ..
-rw-r--r-- 1 paulgilm paulgilm   32 Nov  6 15:04 !wombat
-rw-r--r-- 1 paulgilm paulgilm   32 Nov  6 15:04 -wombat
-rw-r--r-- 1 paulgilm paulgilm   32 Nov  6 15:04 .wombat


This may be what you want (the "./" are superfluous):
598 $ pax -vw . >/dev/null
.
./--
./-wombat
./!wombat
./.wombat
pax: ustar vol 1, 5 files, 0 bytes read, 10240 bytes written.


You may not want this (beware shell expansion!):
599 $ pax -vw * >/dev/null
!wombat
-wombat
pax: ustar vol 1, 2 files, 0 bytes read, 10240 bytes written.


>I took care to put the archive outside of the archived path. Not THAT dumb. 
><g> 
>
Likewise, what happens if you IEBCOPY unload a PDS into one of its own members?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to