Re: bash script - quotes in variables

From: Steve Lamb (grey_at_dmiyu.org)
Date: 03/18/05

  • Next message: Kamaraju Kusumanchi: "will gcc 4.0 be compiled for sarge?"
    Date: Thu, 17 Mar 2005 18:41:36 -0800
    To: debian-user@lists.debian.org
    
    
    

    Dmitry Yakovkin wrote:
    > now I want to do that from inside a shell script:

        Messing with quotes, expansions and all the other messiness of shell is
    what prompted me to never, EVER deal with shell scripting. My solution was to
    pick up first Perl and later Python. system() and os.system() respectively
    simply do not have that problem. Also one gains access to the libraries of
    the language in question and often have simpler and more elegant solutions to
    the problems they are facing.

        Of course if one's goal is to beat one's head against a brick wall until
    either the wall or one's head breaks I whole-heartedly endorse any flavor of
    shell scripting as the perfect means by which to achieve that goal. I have
    found no better solution short of running some flavor of Windows. ;)

    --
             Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
           PGP Key: 8B6E99C5       | main connection to the switchboard of souls.
    -------------------------------+---------------------------------------------
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Kamaraju Kusumanchi: "will gcc 4.0 be compiled for sarge?"

    Relevant Pages

    • Re: How to become a System Administrator?
      ... and how they might differ from AIX or Tru64 or some other flavor. ... learn Bourne shell scripting; ... I had kinda taken shell scripting as a given as part of learning ... > to read and understand what the programmer had in mind. ...
      (comp.unix.admin)
    • Re: How to become a System Administrator?
      ... and how they might differ from AIX or Tru64 or some other flavor. ... learn Bourne shell scripting; ... I had kinda taken shell scripting as a given as part of learning ... > to read and understand what the programmer had in mind. ...
      (comp.unix.questions)
    • Re: How to become a System Administrator?
      ... and how they might differ from AIX or Tru64 or some other flavor. ... learn Bourne shell scripting; ... I had kinda taken shell scripting as a given as part of learning ... > to read and understand what the programmer had in mind. ...
      (comp.unix.misc)