Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!apple!oliveb!amiga!jimm From: jimm@amiga.UUCP (Jim Mackraz) Newsgroups: comp.sys.amiga Subject: How do you pronounce #? Message-ID: <4481@amiga.UUCP> Date: 30 Aug 89 18:32:16 GMT Reply-To: jimm@amiga.UUCP (Jim Mackraz) Distribution: usa Organization: Commodore-Amiga Inc, Los Gatos CA Lines: 67 I don't know about you, but I often find myself discussing my latest dos, rexx, or wshell hacks, and needing to say something like: "... so I set it to expand #?.c when I hit alt-c ..." How do you pronounce #?. I can pronounce '#', and I can pronounce '?', but I can't manage to say '#?'. So far, I've been saying "star" or "star-dot-c." Not everybody understands that one. Sometimes people say "squish." I kind of like that. How about "Hatch-huh?" as an idiom? All these problems are really getting to me. Just to be fashionable, here's an amigados v1.4 request: Let me make aliases for wildcard expressions. I'm getting tired of typing #?.(c|h|asm). Maybe I should just assign it to a function key. And, in the interest of wildcard expansion technology, here's a rexx script named '!.rexx' which forces wildcard expansion on programs that don't have it, such as the 'Z' editor from Manx. "Z *.c" and "Z #?.c" don't work, but if you have !.rexx, ! Z #?.c Will replace the command line with the expanded "Z foo.c bar.c", *let you edit it some more*, and then execute when you hit return again. It's minor modification of expand.rexx I got from bix. I must have been missing a piece of that one: it didn't work. /* !.rexx - expand wildcards for commands */ /* wshell, conman, and execio required, I think */ parse arg files out = "" do i = 1 to words(files) pat = word(files, i) if verify(pat, '#?', 'Match') = 0 then out = out pat else do 'list nohead quick' pat '| execio stem lines.' do j = 1 to lines.0 out = out lines.j end end end dropbuf /* just to be sure */ force out break_c: dropbuf return "" -- Jim Mackraz, I and I Computing "... the signs are very ominous, {cbmvax,well,oliveb}!amiga!jimm and a chill wind blows." - Justice Blackmun Opinions are my own. Comments are not to be taken as Commodore official policy.