[comp.sys.amiga.tech] ARP 1.3 question

UH2@PSUVM.BITNET (Lee Sailer) (05/25/89)

It's wonderful.  Thanks ARP guys.

I do have two little problems, though.  One is the InstallPrinter
script.  It starts with

    .key ""

and AShell considers this an error.  I just changed it ot '.key foo'
and it works OK.

Also,

    echo >> $fname "Put this stuff at the end of file $fname"

where fname is a shell variable doesn't work the way I hoped it would.
It expands the $fname in the string, but not in the >>, so it
adds the string to a file name '$fname'.  Is this a bug or a feature?
Any work arounds?

thanks, lee

tensi@lan.informatik.tu-muenchen.dbp.de (Thomas Tensi) (05/30/89)

In article <89145.104504UH2@PSUVM> UH2@PSUVM.BITNET (Lee Sailer) writes:
>It's wonderful.  Thanks ARP guys.
>
I agree.

Nevertheless I was not satisfied with the behaviour of the meta characters.
To get rid of my EMACS backup files I typed (as usual under ARP 1.2)

        delete *~

and  all files in the current directory got deleted. Very bad indeed.
     ---

Of course, I knew that "~" is a meta character but I thought it would lose its
special meaning at the end of a regular expression as it's a prefix char...

(The fix is of course to quote the tilde...)

Is this the last word on meta character behaviour?

Thomas Tensi, Institut fuer Informatik, Technische Univ. Muenchen,
Arcisstr. 21, 8000 Muenchen 2, West Germany
        | E-Mail:
        | tensi@lan.informatik.tu-muenchen.dbp.de                (X.400)
        | tensi%lan.informatik.tu-muenchen.dbp.de@relay.cs.net   (arpa/csnet)
        | tensi%lan.informatik.tu-muenchen.dbp.de@unido.uucp     (uucp)
        | tensi%lan.informatik.tu-muenchen.dbp.de@ddoinf6.bitnet (bitnet)