LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Parts/Attachments: text/plain (20 lines)
Print Reply
Mime-Version:
1.0
Sender:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Mon, 10 Jun 2002 22:28:22 -0400
Reply-To:
LISTSERV give-and-take forum <[log in to unmask]>
Subject:
From:
Valdis Kletnieks <[log in to unmask]>
In-Reply-To:
Your message of "Mon, 10 Jun 2002 20:15:53 CDT." <[log in to unmask]>
Content-Type:
text/plain; charset=us-ascii
Comments:
On Mon, 10 Jun 2002 20:15:53 CDT, Al Iverson <[log in to unmask]>  said:

> # which smrsh
> /usr/sbin/smrsh
> cd /usr/sbin
> # grep -a smrsh smrsh
> That produces 5-6 lines of output, a few of which contain the path to
> the smrsh dir, something like this:
> command too long: %.40s         /etc/smrsh/%s: %s not available for
> sendmail programs
> Telling me that it's /etc/smrsh

Not guaranteed to work.  'strings -a smrsh | grep /' is more likely to DTRT.

The box I'm using right now uses /usr/adm/sm.bin, which would miss on your grep.
Also, many systems have grep commands that don't do well on binaries (thus
the 'strings | grep' pair....)

/Valdis

ATOM RSS1 RSS2