![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script to concatenate several files | docaia | Shell Programming and Scripting | 3 | 02-03-2008 09:07 AM |
| Concatenate text of two files in UNIX. | Uniq | UNIX for Advanced & Expert Users | 1 | 01-19-2007 07:53 AM |
| Dvd files concatenate error: Not enough space | maag | SUN Solaris | 3 | 05-06-2006 11:39 PM |
| How to concatenate all files. | s80bob | UNIX for Dummies Questions & Answers | 1 | 08-22-2005 05:20 PM |
| Split n then concatenate files. | praveen.pinto | UNIX for Advanced & Expert Users | 4 | 02-16-2005 12:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to concatenate 2 files using awk?
I have to select a field ($8) from file1, then add an entry to the file2 in the correct format:
/tmp> cat file1 3001-233 Invalid admin value in /etc/security/group for "imnadm" 3001-233 Invalid admin value in /etc/security/group for "perfmon" 3001-233 Invalid admin value in /etc/security/group for "extract" 3001-233 Invalid admin value in /etc/security/group for "vality" 3001-233 Invalid admin value in /etc/security/group for "profadm" 3001-233 Invalid admin value in /etc/security/group for "db2asgrp" 3001-233 Invalid admin value in /etc/security/group for "db2adm" /tmp> cat file2 system: admin = true staff: admin = false bin: admin = true Any ideas? Thanks. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|