Is there a way to add to the end of an 
environment variable that is an array 
without explicitly specifying the index?

eg I can do

     set -Ux PATH[5] /some/path

but that means I have to actually count 
how many elements the array currently has.

     set -Ux PATH[-1] /some/path

will change the last element but

     set -Ux PATH[-0]

gives `set: Array index out of bounds`


------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to