hello there;
I need to re-arrange data for a report.
Currently I've read the data into a vector and data is grouped by date and dollar_range. Each line stores a type and it's count:
gender_1, count
gender_2, count
gender_n, count
dollar_range_1, count
.
.
gender_1, count
gendeer_n, count...
Hello everyone;
I'm trying to extract data from xml files.
at the moment I have two set of xml files that are two and three levels deep respectively.
1st:
-state
-date_range
2nd:
-date
-dollar_range
-gender
In the first instance, I would like to grab all the date_range (value...
hi everyone;
i want to take a shell variable and pass it to the -f (external file) option of awk.
i have tried a couple of ways and neither works.
btw, the reason i'm trying to achieve this is because for every input file there is an associated awk file (e.g IDA1.xml is associated to IDA1.sub...
hi everyone;
i have a script that is supposed to take an inputfile arg and an optional outputfile.
what i'd like to happen is:
1. quit if no arg passed
2. please, see the psudo code;
if (arg 1 exists and is a valid file)
{
if(arg 2 exist)
then process inputfile and save result to...
hello everyone;
i'm very new in awk and as i was reading on i wondered if awk be the solution to my problem.
first a sample of my xml file:
-- xml --
<dts:dtservices xmlns:dts="uri:dts_namespace">
<dts:tally_output>
<dts:tally dts:name="test_lrfs">
<dts:tally dts:name="cState">
<dts:tally...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.