Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2003
    Posts
    7

    Unanswered: Shell script --still learning--

    Hi group,

    i need to create a shell script. The base of it is an excisting script. However I have very little knowledge about this.

    Can some please explain to me what this means:
    SENDER_ID=`echo $@ | awk '{print $12}'`
    SENDER_ID="SENDER_ID="$SENDER_ID
    eval $SENDER_ID

    AND

    if [ ! -r $SQL_EXT_PROG ]

    ($SQL_EXT_PROG = the call to a variable)
    So what does ! -r mean?

    Where can I find what parameters i can use, what's a good internet site?

    All help is greatly appreciated!!

    Regards,

    Visualsander

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: Shell script --still learning--

    You can use

    man ksh for shell commands
    and
    man awk for awk commands ...

  3. #3
    Join Date
    Mar 2003
    Posts
    7
    thnx. I do a lot of things in Unix and just forgot about man...

  4. #4
    Join Date
    Mar 2003
    Posts
    1

    Re: Shell script --still learning--

    I recommend "Portable Shell Programming" by Bruce Blinn. It's well written, concise and has lots of examples

Posting Permissions

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