Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!leah!wfh58 From: wfh58@leah.Albany.Edu (William F. Hammond) Newsgroups: comp.sys.amiga Subject: Re: ARP1.3 questions Summary: Another special-character-in-filenames Keywords: ARP Message-ID: <2284@leah.Albany.Edu> Date: 13 Dec 89 18:08:04 GMT References: <6417@tank.uchicago.edu> <2630@umbc3.UMBC.EDU> Organization: Dept of Math & Stat, SUNYA, Albany, NY Lines: 38 In article<2630@umbc3.UMBC.EDU>,wicks@umbc3.UMBC.EDU(Mr. Tony Wicks )writes: > . . . > I had just > entered rm #?~ when I decided to see just how many files that was, so > I hit ^U and typed list #?~. Low and behold: I got a listing of my > entire directory. *** The character '~' is an ARP special-character-in-filenames. Thus to see a list of files with names ending in that character the correct syntax is: list *'~ or, if you prefer, list #?'~ using the unique character in the string "'" as the ARP escape for special-characters-in-filenames. (See my earlier posting of this date under the subject "Phantom of the operating system".) In fact, I find the following alias useful: alias detilda delete []*'~ ask In this form it won't handle filenames that need to be quoted. (If you want to know how to re-wire this alias for that send me email.) The syntax: detilda does a query-delete on files ending in '~' in the current directory, while detilda foo does a query-delete on files beginning in "foo" and ending in '~', and detilda devs:foo OR detilda dirname/foo OR detilda dirname/ are other possible options. > . . . > I must have missed the sentence in the ARP manual that states that ~ > is some special character. Is there a way to turn this off? Is this > part of ASH and not part of the arp.library argument processing? *** It's ARP command argument processing. I don't know how to turn it off. > . . . > wicks@umbc3.umbc.edu, wicks@mst1.bal.mmc.com ------------------------------------------------------------------------ William F. Hammond Dept. of Mathematics & Statistics 518-442-4625 SUNYA, Albany, NY 12222 wfh58@leah.albany.edu wfh58@albnyvms.bitnet -------------------------------------------------------------------------