Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I'm debugging a shell program, I came across following line, @BATCH_ROOT@/batch_scripts/insert_record.sh It executes insert_record.sh files. But i not sure about the meaning of @BATCH_ROOT@ In ksh the symbol @ ...
  1. #1
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Question what's the meaning of @ symbol in ksh???

    Hi,
    I'm debugging a shell program, I came across following line,
    @BATCH_ROOT@/batch_scripts/insert_record.sh

    It executes insert_record.sh files.
    But i not sure about the meaning of @BATCH_ROOT@

    In ksh the symbol @ represents what?
    Does it denote some environmental variable?
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    It seems to introduce a regular expression.
    Learning the Korn Shell, 2nd Edition: Chapter 4: Basic Shell Programming

    I assume there are several possibilities in which base directory insert_record can reside. And the @ says the shell should try every path in the variable BATCH_ROOT.

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Smile

    I'll check out the link ...
    Thanks GNU-Fan
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...