bash and arrays
Hi guys,
i will be quick, im trying to send a mysql query output into an array ie: Code:
declare -a HD but got an error script.sh: 2: declare: not found i found another post regarding this but it's closed and no help at all thanks in advance. disca |
Well, I think it could be not running bash, but some other,
you could try doing bash ./script.sh |
my bad, missed a / in interpreter.
sorry for wasting your time :) |
no prob :-)
|
All times are GMT -5. The time now is 02:07 AM. |