(patch for Bash) var+=value

From: William Park (opengeometry_at_yahoo.ca)
Date: 06/23/04


Date: 23 Jun 2004 06:05:03 GMT

var+=value
    will append 'value' to the existing content of variable. That is,
    it will be string concatenation of old and new.

var[i]+=value
    same, but for array element.

Ref:
    http://freshmeat.net/projects/bashdiff/
    http://home.eol.ca/~parkw/index.html#bash

-- 
William Park, Open Geometry Consulting, <opengeometry@yahoo.ca>
No, I will not fix your computer!  I'll reformat your harddisk, though.


Relevant Pages

  • Re: append problem
    ... ZAP IN Attribute ... APPEND MEMO message FROM Bloclks.txt ... REPLACE ref WITH 'xxx' IN Blocls ... > USE attribut in 0 EXCLUSIVE ...
    (microsoft.public.fox.programmer.exchange)
  • Re: (patch for Bash) var+=value
    ... William Park wrote: ... > will append 'value' to the existing content of variable. ... > it will be string concatenation of old and new. ... which is shell version of strcat. ...
    (comp.unix.shell)