The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
MERGE 13 files and add the file name at the end of each record
.
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
:
MERGE 13 files and add the file name at the end of each record
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
08-19-2008
palsevlohit_123
Registered User
Join Date: Aug 2008
Location: India-Chennai
Posts: 120
awk '{printf "%s,%s\n",$0,FILENAME}' *.dat >new_filename
palsevlohit_123
View Public Profile
Find all posts by palsevlohit_123
Find palsevlohit_123's past nominations received
Find palsevlohit_123's present nominations given