Re: Syntax for $$files

From: Aaron W Morris (aaronmorris_at_MINDSPRING.COM)
Date: 05/21/04

  • Next message: Hans-Dieter Kutz: "Re: installing the ssh client during the NIM install"
    Date:         Fri, 21 May 2004 01:20:27 -0400
    To: aix-l@Princeton.EDU
    
    

    Yard, John wrote:
    > What is the syntax to test for the
    > existence of a file that has $$ for
    > the 1st 2 characters, as in $$INDEX ?
    >
    > I am using ksh, and the $$ is
    > throwing all my scripting off,
    >
    >
    >
    > Thx,
    >
    > JYard
    > UCLA

    Escape the dollar symbol or use single quotes
    ie

    \$\$INDEX or
    '$$INDEX'

    --
    Aaron W Morris <aaronmorris@mindspring.com> (decep)
    

  • Next message: Hans-Dieter Kutz: "Re: installing the ssh client during the NIM install"

    Relevant Pages

    • Syntax for $$files
      ... What is the syntax to test for the ... I am using ksh, and the $$ is ... JYard ...
      (AIX-L)
    • Re: Announcement: bashcritic
      ... The canonical syntax is foo() ... "Bourne Shell": http://en.wikipedia.org/wiki/Bourne_shell ... Although ksh had a version 1982 or 1984, ...
      (comp.unix.shell)
    • Re: Announcement: bashcritic
      ... is POSIX," the braceless function body code would have ... added support for the Bourne syntax for Bourne compatibility, ... No. ksh has always been built upon the Bourne shell codebase, ...
      (comp.unix.shell)
    • Re: match and grab
      ... >>> print Prints a string or a list of strings. ... >>syntax works and does the same thing. ... On the other hand you /can/ write an object method ... I am quite happy to believe you are right John, and if that is so then I ...
      (perl.beginners)
    • Re: Bored already ? But also a Thursday spoiler thoughts
      ... J. P. Gilliver (John) wrote: ... material phenomena is unknown and ... One who denies or disbelieves the existence of a God. ... these entries for urgent attention...but "urgent" is going to be a ...
      (uk.media.radio.archers)