September 11th, 2000, 01:02 PM
Time spent in forums:
I've made a script which read directory info and puts it in
an array. The example content of the array is:
8407 Bush - Letting The Cables Sleep - Guitar Tab.tab
(inode number followed by filename)
I want to create a new array containing two fields;
an inode number field and a filename field.
I did this by splitting the array on using " " (a space char)
as a delimiter. Printing the inode number is easy but how do
i print the filename in one piece (because it's now split in 9)?
I tried things like print $arrayname[1-] and $arrayname[1*] but
they return errors.
Thanks in advance,