The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Adding columns to a file
.
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
:
Adding columns to a file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-16-2008
rubin
Registered User
Join Date: Nov 2007
Posts: 321
Code:
awk -v d="$(date "+%Y-%m-%d")" '{print "abc", d, $1}' foo.csv > foo.txt
rubin
View Public Profile
Find all posts by rubin
Find rubin's past nominations received
Find rubin's present nominations given