The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How can I get multiple info from different files
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How can I get multiple info from different files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
02-07-2007
reborg
Administrator
Join Date: Mar 2005
Location: Ireland
Posts: 4,242
And just for completness with
sed
:
Code:
sed
-n 's/^[ND][^:]*:[ ]*\([^ ].*\)/\1/p' file1.txt file2.txt > file3.txt
reborg
View Public Profile
Find all posts by reborg
Find reborg's past nominations received
Find reborg's present nominations given