Linux

  1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: append
Command Library

NAME

append - Append to variable  

SYNOPSIS

append varName ?value value value ...?



 

DESCRIPTION

Append all of the value arguments to the current value of variable varName. If varName doesn't exist, it is given a value equal to the concatenation of all the value arguments. This command provides an efficient way to build up long variables incrementally. For example, ``append a $b'' is much more efficient than ``set a $a$b'' if $a is long.

 

SEE ALSO

concat(n), lappend(n)

 

KEYWORDS

append, variable


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

About.com Special Features

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.