Hello!
I am new to AWK and I am having trouble with an AWK script. This is quite urgent so any help is welcome
I have the following file:
Project name Creation date
------------ -------------------
angnew 01132000 15:00:00 ANGLIA/ORACLE
brent 30062000 12:00:00 NNS/ORACLE
colt 08281998 12:53:55 COLT_41/ORACLE
colt98 10221998 15:02:17 COLT98/ORACLE
eva 09122001 14:43:41 NNS/ORACLE lgc_master
fl2d 09081999 09:34:41 FLOUNDER981/ORACLE lgc_master
fl2d_tut 11301999 16:29:16 FLOUNDER981/ORACLE fl2d_mast
flndr3d 04101997 11:20:14 FLOUNDER981/ORACLE
flndr3dn 07071999 09:54:17 FLOUNDER981/ORACLE
frisco 04042000 10:33:20 RG_FRISCO/ORACLE
jamtest 10122001 10:03:35 FLOUNDER981/ORACLE
paradise 06241999 09:13:38 FLOUNDER981/ORACLE
pmseis 09082001 11:56:42 PRIYA_TEST/ORACLE
poslog3d 03032000 12:54:39 POSLOGS/ORACLE
priya3d 08082001 15:37:31 PRIYA_TEST/ORACLE
quad22 07281997 23:09:54 CNSOW/ORACLE
I would like to extract all the project names (e.g., FLOUNDER981 without /ORACLE and do not select it twice), store the name in an array.
I need this as an input for another program. Can I do that within the AWK script as well?
Thanks a lot!
Fabien
I am new to AWK and I am having trouble with an AWK script. This is quite urgent so any help is welcome
I have the following file:
Project name Creation date
------------ -------------------
angnew 01132000 15:00:00 ANGLIA/ORACLE
brent 30062000 12:00:00 NNS/ORACLE
colt 08281998 12:53:55 COLT_41/ORACLE
colt98 10221998 15:02:17 COLT98/ORACLE
eva 09122001 14:43:41 NNS/ORACLE lgc_master
fl2d 09081999 09:34:41 FLOUNDER981/ORACLE lgc_master
fl2d_tut 11301999 16:29:16 FLOUNDER981/ORACLE fl2d_mast
flndr3d 04101997 11:20:14 FLOUNDER981/ORACLE
flndr3dn 07071999 09:54:17 FLOUNDER981/ORACLE
frisco 04042000 10:33:20 RG_FRISCO/ORACLE
jamtest 10122001 10:03:35 FLOUNDER981/ORACLE
paradise 06241999 09:13:38 FLOUNDER981/ORACLE
pmseis 09082001 11:56:42 PRIYA_TEST/ORACLE
poslog3d 03032000 12:54:39 POSLOGS/ORACLE
priya3d 08082001 15:37:31 PRIYA_TEST/ORACLE
quad22 07281997 23:09:54 CNSOW/ORACLE
I would like to extract all the project names (e.g., FLOUNDER981 without /ORACLE and do not select it twice), store the name in an array.
I need this as an input for another program. Can I do that within the AWK script as well?
Thanks a lot!
Fabien