FIELDWIDTH & versions of awk2107 (7/25/2003 2:16:53 PM) Hello, FIELDWIDTH, I believe is specific to gawk which I find enormously useful in dealing with fixed width fields without any field delimiters. How do I simulate the same on other versions of awk? Sometimes,... sivaramn
Can this be done? Newbie question...298 (7/25/2003 4:18:44 AM) Total newbie alert... :) Problem: I have a given binary file from which I need to be able to extract a certain amount of (ASCII) data. I know that some of the data always starts at a given offset into the f... Kris
Any significant differences between GAWK 2.15 and 3.1.3 ?5123 (7/22/2003 10:23:03 AM) Hi, I have been using GAWK on and off for the past ten years and during that time have been using the same printed copy of the manual for GAWK 2.15 despite having moved to new machines and verions of GAWK. I ... p.riebold(2)
Comparing 2 files to create a third file4304 (7/18/2003 6:02:49 PM) Hi, I've got two files as follows: FILE 1 FILE 2 user5:12345 user3 user2:234239 user4 user3:34908 user5 user1:234342 user4:234993 ... tribeguy_15(1)
subtracting lines of column data1707 (7/16/2003 8:30:16 PM) Hello all, I am new to awk and gawk and I am having a problem that I am sure is very elementary. I have a data file (ex values.dat) that contains a single column of data, and each line needs to be subtracted... quaid_75
Using regular expressions to validate data2185 (7/14/2003 12:59:07 PM) A newbie question. Is data validation a task for regular expressions? I mean for example checking data from a web form before storing or processing it. It seems to me that only relatively simple tasks can be ... Gustaf
pattern match and remove...1178 (7/13/2003 4:09:25 PM) Still need of your help. Considering : blabla bla bla keep_this_field and_after would like to remove all the $# before the field "keep_this_field" In my example, keep... is in $4, but it is ... Stephane
dates, formatting in AWK0168 (7/11/2003 4:21:48 PM) The good people in comp.unix.shell told me to ask my awk question here. Data comes to me like this: tab delimited, with dates in mo/day/yr order and leading zeros. Fields are contract number, name, beginning d... wandaround(3)
Braces within a string1299 (7/9/2003 4:38:07 AM) I have a problem where I have a fixed field (i.e., $12) that contains either a string (i.e., JOE) or a string enclosed in braces (i.e., {JOE IS NOT HERE}) I am having trouble using gsub or gensub in awk to chan... Jim
awk pattern matching?1121 (7/9/2003 9:08:24 AM) Hello, i'm trying to re-build a kind of xml-parser which uses AWK. At this moment it's searching for tag-pairs like for example . De XML uses tags like . I think I have to make some k... sjorsstevens(1)