bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

syntax error near unexpected token `select'


From: Bill Roeder
Subject: syntax error near unexpected token `select'
Date: Fri, 30 Nov 2001 16:49:50 -0500

bash --version

GNU bash, version 2.04.0(1)-release (sparc-sun-solaris2.7)

Copyright 1999 Free Software Foundation, Inc.

 

function whr()

{

local -a arg=( $(echo "$1"|cat) )

echo arg=$arg

}

 

whr select

bash: syntax error near unexpected token `select'

 

whr test

arg=test

 

function whr2()

{

local -a arg

arg=( $(echo "$1"|cat) )

echo arg=$arg

}

 

whr2 select

arg=select

 

Bill Roeder

Server Team, Daleen Technologies, Inc.

address@hidden 561/981-2147

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]