Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
unix - compare fixed width files
Name: Brijesh Date: March 15, 2007 at 03:43:36 Pacific OS: UNIX CPU/Ram: Pentium Product: Intel
Comment:
Hi,
I want to compare two fixed width files columnswise in unix. Both are large of around 1000+ columns. Also columns are of different lengths within a file
Name: nails Date: March 15, 2007 at 08:54:59 Pacific
Reply:
column parsing is generally in the realm of awk. 1000 columns might be too much for most Unix variants. You might need the GNU (linux) version of awk called gawk. All GNU tools are available at http://www.gnu.org.
Summary: i have a file in unix in which datas are like this 07 01 abc data entry Z3 data entry ASSISTANT Z3 39 08 01 POD peadiatrist Z4 POD PeDIATRY ...
Summary: I'm a newbie to unix scripting and I'm trying to find the most efficient way to concatenate two string variables together but to retain the spaces for output to a fixed width file. (I'm using KSH on a...
Summary: Hi all, I am trying to change the date format from MM/DD/YYYY to MMDDYYYY in the fixed width file using shell. dates are in fields 19-28 and 29-38. Any help is greatly appreciated. Thanks ...