Hi Guys,
I posted this before, but somehow I guess my post got lost in cyberspace. Im extremely new to AWK. I have a scenario where I need to extract variables and invoice information into an array. Without further adieu, can someone please help point me in the right direction? Here's the input file:
X, Y, Z Company 50681 08/04/10
07/01/10 3065 2,782.50 0.00 2,782.50
07/01/10 3067 984.38 0.00 984.38
07/01/10 3069 1,007.80 0.00 1,007.80
4,774.68 0.00 4,774.68
08/04/10 50681 ******4774.68
FOUR THOUSAND SEVEN HUNDRED SEVENTY-FOUR AND 68/100----
X, Y, Z Company
123 Main St
Toronto ON M8Y 3H8
As you can tell, there's quite a bit of textual information and it's quite difficult to grab a dynamic list of invoices. Any ideas?
I posted this before, but somehow I guess my post got lost in cyberspace. Im extremely new to AWK. I have a scenario where I need to extract variables and invoice information into an array. Without further adieu, can someone please help point me in the right direction? Here's the input file:
X, Y, Z Company 50681 08/04/10
07/01/10 3065 2,782.50 0.00 2,782.50
07/01/10 3067 984.38 0.00 984.38
07/01/10 3069 1,007.80 0.00 1,007.80
4,774.68 0.00 4,774.68
08/04/10 50681 ******4774.68
FOUR THOUSAND SEVEN HUNDRED SEVENTY-FOUR AND 68/100----
X, Y, Z Company
123 Main St
Toronto ON M8Y 3H8
As you can tell, there's quite a bit of textual information and it's quite difficult to grab a dynamic list of invoices. Any ideas?