Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!olivea!tymix!romana!jms From: jms@romana.Tymnet.COM (Joe Smith) Newsgroups: comp.unix.shell Subject: Re: copying files Summary: "ls -A" works on Sun Message-ID: <1396@romana.Tymnet.COM> Date: 5 Jan 91 00:56:40 GMT References: <4914@mahendo.Jpl.Nasa.Gov> <110253@convex.convex.com> <1990Dec11.125018.12274@usenet.ins.cwru.edu> <110398@convex.convex.com> <8492@star.cs.vu.nl> <1691@erhs40.UUCP> <3658@jaytee.East.Sun.COM> <1990Dec27.134022.14394@cid.aes.doe.CA> Reply-To: jms@tardis.Tymnet.COM (Joe Smith) Organization: BT Tymnet, San Jose, CA Lines: 45 In article <1990Dec27.134022.14394@cid.aes.doe.CA> afsipmh@cid.aes.doe.CA (Patrick Hertel) writes: > 1) -A is not "standard" at least not on our IRIX machines It appears to be a UCB enhancement. > 2) -A lists . and .. on our suns despite what man purports Sounds like you have an unexpected alias for ls. (techserv/techserv) jms@tardis# ls ./ .logout terminal.inventory ../ bin/ terminal.old-inv@ .cshrc* cops/ .login frames/ (techserv/techserv) jms@tardis# /bin/ls .cshrc bin terminal.inventory .login cops terminal.old-inv .logout frames (techserv/techserv) jms@tardis# /bin/ls -A .cshrc bin terminal.inventory .login cops terminal.old-inv .logout frames (techserv/techserv) jms@tardis# /bin/ls -a . .logout terminal.inventory .. bin terminal.old-inv .cshrc cops .login frames (techserv/techserv) jms@tardis# /bin/ls -a -A . .logout terminal.inventory .. bin terminal.old-inv .cshrc cops .login frames (techserv/techserv) jms@tardis# alias ls ls -aF (techserv/techserv) jms@tardis# # (Tested under SunOS-4.1) The "-A" option is the default for root. If "-a" and "-A" are both specified (possibly as a result of an alias), the "-a" option wins. -- Joe Smith (408)922-6220 | SMTP: jms@tardis.tymnet.com or jms@gemini.tymnet.com BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms PO Box 49019, MS-C51 | BIX: smithjoe | CA license plate: "POPJ P," (PDP-10) San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga 3000 speaks for me."