The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
c program to extract text between two delimiters from some text file kukretiabhi13 High Level Programming 7 12-03-2008 06:29 PM
Adding specific text and spaces to each line in a text file hertingm Shell Programming and Scripting 4 08-25-2008 03:34 PM
search and replace a specific text in text file? santosham UNIX for Dummies Questions & Answers 4 06-25-2008 06:53 PM
Building Full-Text Search Applications with Oracle Text iBot Oracle Updates (RSS) 0 04-06-2008 06:10 AM
grep multiple text files in folder into 1 text file? coppertone UNIX for Dummies Questions & Answers 7 08-23-2002 03:50 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-02-2008
Maggiepie Maggiepie is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 2
Text or .dat

How do I insert a column in a text or .dat file for a date.
  #2 (permalink)  
Old 10-02-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,790
It would be easy with awk.
That is an answer very like your question - not much help.
Give us exactly what you want, an example small filefile, and how it has to be when fiinished.
  #3 (permalink)  
Old 10-03-2008
Maggiepie Maggiepie is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 2
Text file example

Please find attached two files that need to be opened via wordpad. The first is an original without the date and the second one has the date embedded at the end. How can I use awk to create a date to each line item in the text file.
Attached Files
File Type: txt GPlus 3a date.txt (2.3 KB, 22 views)
File Type: txt GPlus 3a.txt (2.3 KB, 15 views)
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0