Since 4/30/2012 1:11:27 AM, peifer1 has written 1 articles and participated in 57 conversations. peifer1 signature: peifer1
peifer1's articles:
Items(1) /1
Assigning Variables on the Command Line647 (3/4/2007 2:56:12 PM) comp.lang.awk Hi All, I have this "semi-interactive" GAWK script, where I can specify 3 variables on the command line: $ awk -v component=7 -v type=1 -v coverage=99 -f my_script.awk The script looks like this: BEGIN { F... Hermann
script help165 (5/25/2012 8:04:56 PM) comp.lang.awk I have a file that doesn't have a field delimiter between the columns and I want to add a colon between each column. I can identify the columns by hard coding the range:
such as "col1 to col 10" "col11 to col... rvaedex23(42)
Drawling a complete blank (sort and move oldest)513 (2/8/2013 6:11:59 PM) comp.unix.shell I am writing a script that will look into a directory structure looking for=
rpm find the rpms and move the oldest ones based build name and creation t=
ime to an archive folder. I have the data collection ... MKruer(33)
mktime() (GAWK) question5148 (11/20/2011 1:49:41 PM) comp.lang.awk Is it documented that the function only works up to 2038 (presumably to the moment of the Unix time rollover)? -- They say compassion is a virtue, but I don't have the time! - David Byrne - ... gazelle3(1598)
assigning array variables3858 (2/20/2012 9:05:57 PM) comp.lang.awk [ gnu awk 3.1.7 ] can array variables be assigned without reading input? e.g: array=(A B C D E) for (name in array) .... ... bryanlepore(24)
xgawk791 (3/7/2012 8:48:22 PM) comp.lang.awk Hi there, I tried out to use xgawk to process some xml files but failed on quite explicit, but not easy to solve,error: $ xgawk -l xml s.awk f.xml xgawk: fatal: extension: cannot find dynamic library `xml' ... steph2953(3)
producing time strings1581 (3/21/2012 6:41:29 PM) comp.lang.awk Hi, As part of a larger program, I'm constructing time strings from input that looks like this: "YYYY-MM-DD HH:MM:SS" including the double quotes. I need the output to look the same, without the double quot... spluque(54)
awk -F / cut -d, whitespace, fields244 (4/8/2012 6:30:33 AM) comp.unix.shell Hi, cut -d seems to consider every occurence of the delimiter as a new field... ok that's consistent awk -F seems to do the same if the delimiter is not a whitespace character, but if it is a whitespace chara... andre.aitken.a(15)
Is this a job for awk?737 (5/8/2012 3:06:35 PM) comp.lang.awk Hello guys I stumbled upon awk today and it's pretty neat. I am thinking about an application and I don't know if it's better to write it in C or awk. Basically I want to scan source for certain commands and do... fritz9111(34)