Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 0
About awk script

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.

Old 06-23-2005, 08:04 AM   #2
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

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

Original Poster
Rep: Reputation: 0
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.



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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:24 AM.

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