Path: utzoo!utgpu!watserv1!watmath!att!bellcore!bellcore-2!rutgers!cbmvax!jjszucs From: jjszucs@cbmvax.commodore.com (John J. Szucs) Newsgroups: comp.sys.amiga Subject: Re: tilde in filename Message-ID: <14295@cbmvax.commodore.com> Date: 7 Sep 90 22:37:24 GMT References: <3166@orbit.cts.com> Reply-To: jjszucs@cbmvax.commodore.com (John J. Szucs) Organization: Commodore, West Chester, PA Lines: 32 In article <3166@orbit.cts.com> bga@pnet51.orb.mn.org (Bruce Albrecht) writes: >What does the tilde (~) mean in an amigados 2.0 filename? I couldn't file any >mention of it in the Using the System Software Manual. It seems to have some >sort of wild-card properties (for example, dir ~ seems to be equivalent to dir >all, and rm #?~ would have deleted a lot more files if I hadn't done a break). >If it does have special meaning, where is it documented? The tilde (~) is a new wildcard character used as a logical NOT operator. It should be placed before the wildcard expression you wish to NOT. For example: 1.SYS:> list ~(#?.info) will list all files not matching the pattern "#?.info" (all files that do not end with .info). I can't seem to find it in the documentation either (at least at a quick glance), but I'll check with our Documentation department on it. >UUCP: {amdahl!bungia, uunet!rosevax, crash}!orbit!pnet51!bga ================================================================================ || John J. Szucs || The opinions expressed are my own and || || Systems Evaluation Group || in no way represent the opinions or || || Product Assurance Department || policies of Commodore Technology, Inc. || || Commodore Technology, Inc. || or any associated entity. || ================================================================================ ...{rutgers|uunet|pyramid}!cbmvax!jjszucs jjszucs@cbmvax.commodore.com "Everything is deeply intertwingled." - Ted Nelson, Computer Lib/Dream Machines