Thanks, I will check tomorrow iff the script will works now.
---------- Post updated 04-01-10 at 12:06 PM ---------- Previous update was 03-01-10 at 03:39 PM ----------
The script works, but there are errors at the beginning when I ran the script.
bash-3.00# ./test
Name "main:
ATA" used only once: possible typo at ./test line 2.
Use of uninitialized value in substitution (s///) at ./test line 11, <LINKLIST> line 1.
Use of uninitialized value in substitution (s///) at ./test line 12, <LINKLIST> line 1.
Use of uninitialized value in printf at ./test line 13, <LINKLIST> line 1.
Use of uninitialized value in printf at ./test line 13, <LINKLIST> line 1.
---------- Post updated at 12:07 PM ---------- Previous update was at 12:06 PM ----------
Name "main:: DATA" used only once: possible typo at ./test line 2.
Use of uninitialized value in substitution (s///) at ./test line 11, <LINKLIST> line 1.
Use of uninitialized value in substitution (s///) at ./test line 12, <LINKLIST> line 1.
Use of uninitialized value in printf at ./test line 13, <LINKLIST> line 1.
Use of uninitialized value in printf at ./test line 13, <LINKLIST> line 1.