LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-22-2005, 01:20 AM   #1
sachin_keluskar
LQ Newbie
 
Registered: Apr 2004
Posts: 20

Rep: Reputation: 0
About awk script


hello,
I m using Fedora core 2. There is a facillity called "mutt" for mailbox in linux which shows all the mails datewise . I want to write a script which will delete more older mails and take a backup of recent mails in one file. I m trying it in awk which will search for the particular date . Is anyone having idea about the script.

Thanx
 
Old 06-23-2005, 08:04 AM   #2
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Post a sample input and a sample output you want to convert using awk

Cheers
Z
 
Old 06-24-2005, 03:19 AM   #3
sachin_keluskar
LQ Newbie
 
Registered: Apr 2004
Posts: 20

Original Poster
Rep: Reputation: 0
hi,
sample ip is mutt's mails of previous dates.It stores the mails in /var/spool/mail/username file.from which i want to sort the particular datewise mails and took backup in another file. Before that date i want to delete all the mails. So sample output should be in another file with specified date. I want all this in awk.

Thanx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
writing awk script files bigmark Linux - Software 1 10-19-2005 10:33 AM
awk script forgets tabs iluvatar Linux - Software 2 11-04-2004 01:56 AM
AWK script is hanging our server Hans Zarkoff Programming 10 08-20-2004 01:32 PM
Passing variables from AWK script to my shell script BigLarry Programming 1 06-12-2004 04:32 AM
How do I run an awk script? davee Programming 2 08-12-2003 08:46 AM


All times are GMT -5. The time now is 07:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration