[PLUG] (no subject)

Jason Van Cleve jason at vancleve.com
Fri Oct 17 13:38:02 UTC 2003


On Thu, 2003-10-16 at 23:38, Billy Dimaculangan wrote:
>  almost done.  any idea on how can i store the output to an array variable.

You could put the whole thing in backward hyphens and assign it to a
variable:

declare array=`cat filename | cut -d':' -f1`

--Jason






More information about the PLUG mailing list