On Tue, 28 Oct 1997 10:47:09 -0600 (CST), dattier(_at_)wwa(_dot_)com (David W.
Tamkin)
wrote to jari(_dot_)aalto(_at_)poboxes(_dot_)com (Jari Aalto):
| Procmail has been around a long time, since 1994, so how come
| it still doesn't support standard \t character code? I find this
| real pain and error prone in my code. Is the re a hope
| to get this fixed in near future?
You can still do it with a real horizontal tab character. If that doesn't
satisfy you, you can set a variable that contains a tab (or a space and a
tab) and use it with "$" interpretation:
SPACETAB=" "
and then write things like
* $ ^Header-Name:[$SPACETAB]*\/[^$SPACETAB].*
I tried this in my .procmailrc and did not get the selection I wanted.
Attached is the script output from a test setup I created and ran on
HPUX B.10.10 on a 9000/770.
Can anyone please tell me what I am doing wrong?
Thank you very much,
Ed James Email
ed(_dot_)james(_at_)jhuapl(_dot_)edu
The Johns Hopkins University Voice {410-792|301-953}-6000x8733
Applied Physics Laboratory 24-E196 Fax {410-792|301-953}-6670
Johns Hopkins Road Pager 410-743-8826
Laurel, MD 20723-6099
Script started on Wed Oct 29 10:13:16 1997
procmail -v
procmail v3.11pre4 1995/10/29 written and created by Stephen R. van den Berg
<srb(_at_)cuci(_dot_)nl>
Submit questions/answers to the procmail-related mailinglist by sending to:
<procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de>
And of course, subscription and information requests for this list to:
<procmail-request(_at_)informatik(_dot_)rwth-aachen(_dot_)de>
Locking strategies: dotlocking, fcntl(), lockf()
Default rcfile: $HOME/.procmailrc
System mailbox: /var/mail/$LOGNAME
cat hpux.rc
TMPDIR=/tmp/jamesve1
MAILDIR=$TMPDIR/mail
DEFAULT=$MAILDIR/jamesve1
VERBOSE=on
SHELL=/bin/sh
SPACETAB=" "
:0
* ! ? test -d $TMPDIR || mkdir $TMPDIR
{
# Bail out if directory didn't exist and couldn't be created
EXITCODE=127
HOST
}
:0
* ! ? test -d $MAILDIR || mkdir $MAILDIR
{
# Ditto
EXITCODE=127
HOST
}
# ... your experimental recipes here
PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin:/software/gnu/bin:/usr/bin/X11
LINEBUF=16384
LOGABSTRACT=on
:0c:
* ^Sender:[$SPACETAB]+hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl
hpuxadmin
:0c:
* ^Sender:[$SPACETAB]*hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl
hpuxadmin
:0c:
* ^Sender:[ ]+hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl
hpuxadmin
:0c:
* ^Sender:[ ]*hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl
hpuxadmin
:0:
incoming
cat hpux.tmp
From owner-hpux-admin(_at_)cv(_dot_)ruu(_dot_)nl Tue Oct 28 16:54:25 1997
Received: from mailer.jhuapl.edu by custer.jhuapl.edu with SMTP
(1.40.112.8/16.2) id AA209695661; Tue, 28 Oct 1997 16:54:21 -0500
Return-Path: <owner-hpux-admin(_at_)cv(_dot_)ruu(_dot_)nl>
Received: by mailer.jhuapl.edu (5.65/DEC-Ultrix/4.3)
id AA09241; Tue, 28 Oct 1997 16:54:17 -0500
Received: from mailer by aplmail.jhuapl.edu with lmail
id AA09224; Tue, 28 Oct 97 16:54:16 -0500
Received: from triton.cv.ruu.nl (triton.cv.ruu.nl [131.211.144.150]) by
caviar.cv.ruu.nl (8.7.5/8.7.3) with ESMTP id WAA02843; Tue, 28 Oct 1997
22:50:56
+0100 (MET)
Received: (from daemon(_at_)localhost) by triton.cv.ruu.nl (8.7.5/8.6.12) id
WAA21957
for hpux-admin-list; Tue, 28 Oct 1997 22:25:12 +0100 (MET)
From: root(_at_)aeolus(_dot_)ecy(_dot_)wa(_dot_)gov
Errors-To: hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl
Sender: hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl
Precedence: bulk
Received: from caviar.cv.ruu.nl (caviar.cv.ruu.nl [131.211.144.138]) by
triton.cv.ruu.nl (8.7.5/8.6.12) with ESMTP id WAA21952 for
<hpux-admin(_at_)cv(_dot_)ruu(_dot_)nl>; Tue, 28 Oct 1997 22:25:11 +0100 (MET)
Received: from aeolus.ecy.wa.gov (aeolus.ecy.wa.gov [165.151.26.150]) by
caviar.cv.ruu.nl (8.7.5/8.7.3) with ESMTP id WAA01278 for
<hpux-admin(_at_)cv(_dot_)ruu(_dot_)nl>; Tue, 28 Oct 1997 22:15:03 +0100 (MET)
Received: (from root(_at_)localhost) by aeolus.ecy.wa.gov (8.7.1/8.7.1) id
NAA02057;
Tue, 28 Oct 1997 13:14:52 -0800 (PST)
Message-Id:
<199710282114(_dot_)NAA02057(_at_)aeolus(_dot_)ecy(_dot_)wa(_dot_)gov>
Subject: [HPADM] Of mount, and fsck, and lvm
To: hpux-admin(_at_)cv(_dot_)ruu(_dot_)nl
Date: Tue, 28 Oct 1997 13:14:52 PST
Cc: clint(_at_)ecy(_dot_)wa(_dot_)gov, clint(_at_)math(_dot_)utah(_dot_)edu
X-Mailer: Elm [revision: 212.2]
X-Orig-From: root(_at_)aeolus(_dot_)ecy(_dot_)wa(_dot_)gov
With apologies to Steinbeck, but I find my self in the same postion that
Eric Mazur did earlier this year (fsck reports a "CANNOT READ: BLK xxxxxxx"
and finishes with:
DISK MEDIA PROBLEMS ENCOUNTERED!
BAD BLOCKS WERE FOUND ON THE DISK.
***** FILE SYSTEM IS NOT CLEAN -- DISK MEDIA PROBLEMS ENCOUNTERED *****
***** FILE SYSTEM WAS MODIFIED *****
However, I am using lvm on hpux 10.20 and
mount -f /dev/MICROP-3/LVM3
returns
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
Oh dear, what happened to the force (-f) option which seemed to work for others.
Since IS doesn't seem to have backed up the disk recently and I have data that
is needed for a legal action, I'd sorta like to retrieve it, if you know what
I mean (And I certainly hope that you *really* don't ever have to.)
TIA,
Clint
clint(_at_)ecy(_dot_)wa(_dot_)gov
clint(_at_)math(_dot_)utah(_dot_)edu
root(_at_)aeolus(_dot_)ecy(_dot_)wa(_dot_)gov
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact
majordomo(_at_)cv(_dot_)ruu(_dot_)nl
Name: hpux-admin(_at_)cv(_dot_)ruu(_dot_)nl Owner:
owner-hpux-admin(_at_)cv(_dot_)ruu(_dot_)nl
Archive: ftp.cv.ruu.nl:/pub/digests/hpux-admin (FTP, browse only):
*NEW*: http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
procmail ./hpux.rc < hpux.tmp
procmail: [13116] Wed Oct 29 10:14:16 1997
procmail: Assigning "SHELL=/bin/sh"
procmail: Assigning "SPACETAB= "
procmail: Executing " test -d $TMPDIR || mkdir $TMPDIR"
procmail: No match on ! " test -d $TMPDIR || mkdir $TMPDIR"
procmail: Executing " test -d $MAILDIR || mkdir $MAILDIR"
procmail: No match on ! " test -d $MAILDIR || mkdir $MAILDIR"
procmail: Assigning
"PATH=/homes/jamesve1/bin:/bin:/usr/bin:/usr/local/bin:/software/gnu/bin:/usr/bi
n/X11"
procmail: Assigning "LINEBUF=16384"
procmail: Assigning "LOGABSTRACT=on"
procmail: No match on
"^Sender:[$SPACETAB]+hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl"
procmail: No match on
"^Sender:[$SPACETAB]*hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl"
procmail: Match on "^Sender:[ ]+hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl"
procmail: Locking "hpuxadmin.lock"
procmail: [13116] Wed Oct 29 10:14:17 1997
procmail: Assigning "LASTFOLDER=hpuxadmin"
procmail: Opening "hpuxadmin"
procmail: Acquiring kernel-lock
procmail: Unlocking "hpuxadmin.lock"
procmail: Match on "^Sender:[ ]*hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl"
procmail: Locking "hpuxadmin.lock"
procmail: Assigning "LASTFOLDER=hpuxadmin"
procmail: Opening "hpuxadmin"
procmail: Acquiring kernel-lock
procmail: Unlocking "hpuxadmin.lock"
procmail: Locking "incoming.lock"
procmail: Assigning "LASTFOLDER=incoming"
procmail: Opening "incoming"
procmail: Acquiring kernel-lock
procmail: Unlocking "incoming.lock"
From owner-hpux-admin(_at_)cv(_dot_)ruu(_dot_)nl Tue Oct 28 16:54:25 1997
Subject: [HPADM] Of mount, and fsck, and lvm
Folder: incoming 3067
exit
script done on Wed Oct 29 10:14:25 1997