There's an errorneous extra ^ in line 6 - please remove this
character.
Fixed version should look like:
#!/bin/sh
PROCESS_PATTERN="^/usr/local/sbin/saslauthd"
PGREP="/bin/pgrep"
if ${PGREP} -q -j none -f ${PROCESS_PATTERN}; then
echo -e "OK"
else
echo -e "FAIL"
fi
frank\
--
43rd Law of C
On 24.08.2012 02:14, Jack Stone wrote:
Thanks, I tried that but pgrep only displayed the PIDs. I guess I wasn't
using proper switches.
Yes - and this should be enough.
If pgrep returns PIDs - then this is the same as 'true' in your
'if' condition - if it returns nothing, the 'else' part is execu
On 24.08.2012 00:57, Jack Stone wrote:
[...]
How can I modify my script to see only the host based on the bottom line
above?
pgrep(1) has an option (-j jid) to either include jails by
given id or to exclude them (-j none).
HTH,
Frank Reppin
--
43rd Law of Computing:
Anything that can g
Running freebsd-7.0
I use a small script in a jail to check if Apache is running and if
not, restart it.
#!/bin/sh
#if ps -ax | grep -v grep | grep -i httpd
#then
#echo "Apache is alive.."
#else
#echo "Apache is dead, but will be launched."
#/usr/local/etc/rc.d/apache22 start
Howe
> Date: Wed, 16 Feb 2011 16:47:57 +0100
> From: Bernt Hansson
> Subject: Re: script help
>
> 2011-02-14 23:34, Jack L. Stone skrev:
> > Hello folks:
>
> Hello!
>
> > No doubt this will be easy for those with scritping abilities.
>
> > # find all o
On Wed, 16 Feb 2011 16:47:57 +0100
Bernt Hansson wrote:
> 2011-02-14 23:34, Jack L. Stone skrev:
> > Hello folks:
>
> Hello!
>
> > No doubt this will be easy for those with scritping abilities.
>
> > # find all of the same filenames (copyright.htm) and then replace the year
> > 2010 with 2011
2011-02-14 23:34, Jack L. Stone skrev:
Hello folks:
Hello!
No doubt this will be easy for those with scritping abilities.
# find all of the same filenames (copyright.htm) and then replace the year
2010 with 2011 in each file. Once I have a working script, I should be able
to add it as a cr
2011/2/15 RW :
> On Tue, 15 Feb 2011 12:57:12 +0300
> Peter Andreev wrote:
>
>> Use of "xargs" on many files will be much faster than "find...exec"
>> construction
>
> This is a surprisingly common myth. exec can pass single or multiple
> arguments according to whether you use ";" or "+"
You are
Paul Schmehl writes:
> --On February 15, 2011 12:57:12 PM +0300 Peter Andreev
> wrote:
>
>> Use of "xargs" on many files will be much faster than "find...exec"
>> construction
>>
>> find / -type f -name copyright.htm | xargs sed -i .bak -e 's/2010/2011/g'
>>
>
> I believe you, but can you explai
--On February 15, 2011 12:57:12 PM +0300 Peter Andreev
wrote:
Use of "xargs" on many files will be much faster than "find...exec"
construction
find / -type f -name copyright.htm | xargs sed -i .bak -e 's/2010/2011/g'
I believe you, but can you explain why this is true? What makes xargs
f
At 02:53 PM 2/15/2011 +, RW wrote:
>On Tue, 15 Feb 2011 12:57:12 +0300
>Peter Andreev wrote:
>
>> Use of "xargs" on many files will be much faster than "find...exec"
>> construction
>
>This is a surprisingly common myth. exec can pass single or multiple
>arguments according to whether you use
On Tue, 15 Feb 2011 12:57:12 +0300
Peter Andreev wrote:
> Use of "xargs" on many files will be much faster than "find...exec"
> construction
This is a surprisingly common myth. exec can pass single or multiple
arguments according to whether you use ";" or "+"
>
> find / -type f -name copyrigh
Hi,
per...@pluto.rain.com wrote:
> "Jack L. Stone" wrote:
>
> > # find all of the same filenames (copyright.htm) and then replace
> > the year 2010 with 2011 in each file. Once I have a working
> > script, I should be able to add it as a cron job to run on the
> > first day of each new year.
>
>
ht is claimed, could be construed as a fraudulent claim.
>___
Wow! You wandered way off the trail. I own the tech magazine I founded 23
years ago and we publish monthly to 214 countries. I hav also practiced law
for my companies for nearly 40 years, so quit worrying
Use of "xargs" on many files will be much faster than "find...exec" construction
find / -type f -name copyright.htm | xargs sed -i .bak -e 's/2010/2011/g'
2011/2/15 erikmccaskey64 :
> my little opinion: first run the changes on a backup, or a copy of the files:
>
> this one works under linux bash
my little opinion: first run the changes on a backup, or a copy of the files:
this one works under linux bash fedora:
how to create a "shadow" of a folder [same filenames in another dir, but with 0
Byte size]
in the original, "A" directory:
find . -type f > a.txt
"B" directory:
cat ../a.txt |
"Jack L. Stone" wrote:
> # find all of the same filenames (copyright.htm) and then replace
> the year 2010 with 2011 in each file. Once I have a working
> script, I should be able to add it as a cron job to run on the
> first day of each new year.
Before actually doing this, you might want to co
On Feb 14, 2011, at 2:34 PM, Jack L. Stone wrote:
> # find all of the same filenames (copyright.htm) and then replace the year
> 2010 with 2011 in each file. Once I have a working script, I should be able
> to add it as a cron job to run on the first day of each new year.
find . -name copyright.
On Mon, Feb 14, 2011 at 4:34 PM, Jack L. Stone wrote:
> Hello folks:
>
> No doubt this will be easy for those with scritping abilities.
>
> I have a gazillion files by the same name and each contains the same line
> requiring the same change. But the problem is that they are in many
> different di
On 2/14/11 3:34 PM, Jack L. Stone wrote:
Hello folks:
No doubt this will be easy for those with scritping abilities.
I have a gazillion files by the same name and each contains the same line
requiring the same change. But the problem is that they are in many
different directories on a server wi
Quoth Jack L. Stone on Monday, 14 February 2011:
> Hello folks:
>
> No doubt this will be easy for those with scritping abilities.
>
> I have a gazillion files by the same name and each contains the same line
> requiring the same change. But the problem is that they are in many
> different direct
On Mon, Feb 14, 2011 at 04:34:37PM -0600, Jack L. Stone wrote:
> # find all of the same filenames (copyright.htm) and then replace the year
> 2010 with 2011 in each file. Once I have a working script, I should be able
> to add it as a cron job to run on the first day of each new year.
The followin
Hello folks:
No doubt this will be easy for those with scritping abilities.
I have a gazillion files by the same name and each contains the same line
requiring the same change. But the problem is that they are in many
different directories on a server with numerous domains. While I could
handle t
Drew Tomlinson writes:
> It finally occurred to me that I needed the shell to see a new line as
> the delimiter and not whitespace. Then a simple search revealed my
> answer:
>
> O=$IFS
> IFS=$(echo -en "\n\b")
>
> IFS=$O
Old IFS value can be preserved by using `local' keyword or (...) braces,
>> On Tue, 17 Aug 2010 07:47:25 -0700,
>> Drew Tomlinson said:
D> Then I attempt to use 'basename' to extract the file name to a variable
D> which I can later pass to 'ln'. This seems to work:
D> basename "/archive/Multimedia/Audio/Music/Billboard Top USA
D> Singles/1980-028 Kenny Loggins -
Am Dienstag, den 17.08.2010, 08:22 -0700 schrieb Chip Camden:
> find -E ... | while read i; do; basename $i; done
The semicolon behind "do" isn't necessary.
--
Timm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listin
On 8/17/2010 8:22 AM, Chip Camden wrote:
Quoth Drew Tomlinson on Tuesday, 17 August 2010:
I have a collection of yearly top 100 Billboard mp3s in this format (all
one line - sorry if it wraps):
/archive/Multimedia/Audio/Music/Billboard Top USA Singles/1980-028 Kenny
Loggins - This Is It.mp3
On 8/17/2010 7:47 AM, Drew Tomlinson wrote:
I have a collection of yearly top 100 Billboard mp3s in this format
(all one line - sorry if it wraps):
/archive/Multimedia/Audio/Music/Billboard Top USA Singles/1980-028
Kenny Loggins - This Is It.mp3
I want to create symbolic links to the top 30
Quoth Drew Tomlinson on Tuesday, 17 August 2010:
> I have a collection of yearly top 100 Billboard mp3s in this format (all
> one line - sorry if it wraps):
>
> /archive/Multimedia/Audio/Music/Billboard Top USA Singles/1980-028 Kenny
> Loggins - This Is It.mp3
>
> I want to create symbolic link
I have a collection of yearly top 100 Billboard mp3s in this format (all
one line - sorry if it wraps):
/archive/Multimedia/Audio/Music/Billboard Top USA Singles/1980-028 Kenny
Loggins - This Is It.mp3
I want to create symbolic links to the top 30 in 1966-1969 in another
directory for easy m
On Tue, Sep 05, 2006 at 03:36:09PM -0700, ann kok wrote:
>
> Dear Paul
>
> Thank you for your mail
>
> I want to run a script xx seconds automatically
>
> but cronjob is limited minutes
>
> Thank you
I think what you're after is sleep(1)
--
Frank
echo "f r a n k @ e s p e r a n c e - l
--On Tuesday, September 05, 2006 15:36:09 -0700 ann kok
<[EMAIL PROTECTED]> wrote:
Dear Paul
Thank you for your mail
I want to run a script xx seconds automatically
but cronjob is limited minutes
That's correct. The fastest you can run a cron job is every minute because
that's how often c
Dear Paul
Thank you for your mail
I want to run a script xx seconds automatically
but cronjob is limited minutes
Thank you
--- Paul Schmehl <[EMAIL PROTECTED]> wrote:
>
>
> --On Tuesday, September 05, 2006 11:16:26 -0700 ann
> kok
> <[EMAIL PROTECTED]> wrote:
>
> > Hi all
> >
> > I would
--On Tuesday, September 05, 2006 11:16:26 -0700 ann kok
<[EMAIL PROTECTED]> wrote:
Hi all
I would like to ask script question
1/ if i use the script to run within 1 minute, I can't
run it in the cronjob. how can I run this script
automatically?
I don't understand what you mean here. Are
Hi all
I would like to ask script question
1/ if i use the script to run within 1 minute, I can't
run it in the cronjob. how can I run this script
automatically?
2/ I have file "file.txt" as below, there are two
fields.
4 999
10 200
15 400
60 900
I write "awk script" to exact field 2 if the fi
Garrett Cooper wrote:
Hello again all,
Just making a series of sh scripts to help automate updating and
whatnot of my fileserver (since I am trying to avoid having mistakes
occur with my system, and maybe help the community out a bit by
providing some decent means of updating their own mac
On Tue, 11 Apr 2006, [EMAIL PROTECTED] wrote:
> On Mon, 10 Apr 2006 22:30:32 -0700 Garrett Cooper wrote (my brief response
> follows all of his text):
>
> Just making a series of sh scripts to help automate updating and
> whatnot of my fileserver (since I am trying to avoid having mistake
On Mon, 10 Apr 2006 22:30:32 -0700 Garrett Cooper wrote (my brief response
follows all of his text):
Just making a series of sh scripts to help automate updating and
whatnot of my fileserver (since I am trying to avoid having mistakes
occur with my system, and maybe help the community out
in message <[EMAIL PROTECTED]>,
wrote Garrett Cooper thusly...
>
> I was wondering if anyone could help me out with the following
> script I've developing (the grep if statements are incorrect..):
>
> #!/bin/sh
> #
>
> KC="";
>
> cd /usr/src;
>
> if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ]
On Tuesday 11 April 2006 06:30, Garrett Cooper wrote:
> cd /usr/src;
> if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for
> KERNCONF in /etc/make.conf
if [ `make -V KERNCONF` ]
> read KERNCONF;
> KC="KERNCONF=$KERNCONF";
> fi
You need to check that KC actually e
Hello again all,
Just making a series of sh scripts to help automate updating and
whatnot of my fileserver (since I am trying to avoid having mistakes
occur with my system, and maybe help the community out a bit by
providing some decent means of updating their own machines), and I was
wonde
Hello Patrick,
Your suggestion works perfectly. Thank you very much for helping a learner such
as myself.
Ang.
Proniewski Patrick <[EMAIL PROTECTED]> wrote: On 29 janv. 06, at 16:10, Angelo
Christou wrote:
> list.txt contains:
>
> bob home 9002
> jim data 9005
> Running the following for e
On 29 janv. 06, at 16:10, Angelo Christou wrote:
list.txt contains:
bob home 9002
jim data 9005
Running the following for each line is what I'm trying to do:
myprogram bob home 9002
myprogram jim data 9005
and so on..
give this a try:
while read myline; do
set -- $myline
myprogr
Hello, I am running FreeBSD 6.0 with Bash as my shell. I am trying to automate
a task and I have been reading a lot about Bash, but I haven't been able to get
a script working.
I have a program that I need to pass 3 variables. I have a text file called
list.txt that has the variables separated
From: Greg Barniskis <[EMAIL PROTECTED]>
To: Jack Stone <[EMAIL PROTECTED]>
CC: freebsd-questions@freebsd.org
Subject: Re: Perl script help
Date: Wed, 25 Jan 2006 13:29:39 -0600
Jack Stone wrote:
I'm using an old (2001) canned perl script to manage questions to my tech
site.
I'm using an old (2001) canned perl script to manage questions to my tech
site. It is of big help since it can answer common questions from templates
and a real time saver.
Alas, that time saves is now being diminished by junk mail about cheap drugs
and I'm trying to figure out how to filter t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/2/05, Denny White <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a script, pasted in below, which does various
things on a daily basis, like cvsup src, docs, ports,
portsdb, portversion, portupgrade, & so on
On 11/2/05, Denny White <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> I have a script, pasted in below, which does various
> things on a daily basis, like cvsup src, docs, ports,
> portsdb, portversion, portupgrade, & so on. I finally
> figured out how to do the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a script, pasted in below, which does various
things on a daily basis, like cvsup src, docs, ports,
portsdb, portversion, portupgrade, & so on. I finally
figured out how to do the if/then/else thing with the
portversion-portupgrade part of the
- Original Message -
From: "Giorgos Keramidas" <[EMAIL PROTECTED]>
To: "antenneX" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, August 24, 2005 11:52 AM
Subject: Re: Script help using "cut"
> On 2005-08-24 11:41, antenneX <[EMAIL PROTECTED
On 2005-08-24 11:41, antenneX <[EMAIL PROTECTED]> wrote:
>Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
>> sed -e 's/)[[:space:]]*$//' -e 's/^.*@//'
>>
>> or you can use as complex regular expressions as necessary to cut
>> specific parts of the line:
>>
>> sed -e 's/[EMAIL PROTECTED]([^)]*\))[[:spa
- Original Message -
From: "Giorgos Keramidas" <[EMAIL PROTECTED]>
To: "antenneX" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, August 24, 2005 8:04 AM
Subject: Re: Script help using "cut"
> On 2005-08-24 07:58, antenneX <[EMAIL PROTECTED]
On 2005-08-24 07:58, antenneX <[EMAIL PROTECTED]> wrote:
>"antenneX" <[EMAIL PROTECTED]> wrote:
>>"Giorgos Keramidas" <[EMAIL PROTECTED]> wrote:
(envelope-from [EMAIL PROTECTED])
(envelope-from [EMAIL PROTECTED])
(envelope-from [EMAIL PROTECTED])
All ideas appre
- Original Message -
From: "antenneX" <[EMAIL PROTECTED]>
To: "Giorgos Keramidas" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, August 23, 2005 8:35 PM
Subject: Re: Script help using "cut"
> - Original Message -
> From: "Giorgos Ke
- Original Message -
From: "Giorgos Keramidas" <[EMAIL PROTECTED]>
To: "antenneX" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, August 23, 2005 8:16 PM
Subject: Re: Script help using "cut"
> On 2005-08-23 20:02, antenneX <[EMAIL PROTECTED]>
- Original Message -
From: "Giorgos Keramidas" <[EMAIL PROTECTED]>
To: "antenneX" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, August 23, 2005 8:16 PM
Subject: Re: Script help using "cut"
> On 2005-08-23 20:02, antenneX <[EMAIL PROTECTED]>
On 2005-08-23 20:02, antenneX <[EMAIL PROTECTED]> wrote:
> Been trying to complete a script that I can use to grep spam emails
> from the maillog, then trim it to just the plain email address. Trying
> to use "cut" in the script but it's not doing what I want yet.
>
> Here is what the earlier lines
Been trying to complete a script that I can use to grep spam emails
from the maillog, then trim it to just the plain email address. Trying
to use "cut" in the script but it's not doing what I want yet.
Here is what the earlier lines have the lines down to so far:
"(envelope-from [EMAIL PRO
in message <[EMAIL PROTECTED]>,
wrote Paul Schmehl thusly...
>
> --On July 30, 2005 2:57:57 AM -0400 Parv <[EMAIL PROTECTED]> wrote:
>
> >in message <[EMAIL PROTECTED]>,
> >wrote Paul Schmehl thusly...
...
> >>@${SED} -e '/man\.macros/r man.macros' -e '/man\.macros/d'
> >>${WRKSRC}/doc/${f} \
> >>
--On July 30, 2005 2:57:57 AM -0400 Parv <[EMAIL PROTECTED]> wrote:
in message <[EMAIL PROTECTED]>,
wrote Paul Schmehl thusly...
Running what I *thought* was the same sed command in the Makefile
of the port doesn't solve the problem of the formatting of the man
pages, but it doesn't generate a
in message <[EMAIL PROTECTED]>, wrote Parv
thusly...
>
> in message
> <[EMAIL PROTECTED]>, wrote
> Paul Schmehl thusly...
> >
> > @${SED} -e '/man\.macros/r man.macros'
...
> In the 1st part, sed sends the output of file 'man.macros' to
^ ^ ^ ^ ^ ^ ^
in message <[EMAIL PROTECTED]>,
wrote Paul Schmehl thusly...
>
> Running what I *thought* was the same sed command in the Makefile
> of the port doesn't solve the problem of the formatting of the man
> pages, but it doesn't generate any errors either:
>
> @${SED} -e '/man\.macros/r man.macros' -e
I'm working on a new port, and the one thing I can't seem to solve is the
man pages. They install fine, but they're not formatted right.
In the Makefile that is built from configure, this is the section that
handles the man pages:
@cd $(TOP_DIR)/doc; for i in *.n; \
do \
Norberto Meijome wrote:
Kevin Kinsey wrote:
=
# Rule number variable
RuleNum=100
#
# this function increments $RulNum var by 100... #
#
inc () {
RuleNum=$(expr $1 "+" 100)
}
##
# LET'S G
Mike Jeays wrote:
"man expr" to give the short answer to your first question:
As an example, x=`expr $x + 1`
536 ~ $ x=4
537 ~ $ x=`expr $x + 1`
538 ~ $ echo $
Note the back-quotes to execute a command and return the result, and the
need for spaces between each token in the expr command.
sh
Kevin Kinsey wrote:
=
# Rule number variable
RuleNum=100
#
# this function increments $RulNum var by 100... #
#
inc () {
RuleNum=$(expr $1 "+" 100)
}
##
# LET'S GET STARTED #
Mike Jeays wrote:
On Tue, 2005-06-28 at 22:52, fbsd_user wrote:
My sh shell script ability is not that good.
Have 2 simple coding problems.
How do I code a statement to subtract one from a field.
$rulenum = $rulenum - 1
$rulenum = '$rulenum - 1'
one='1'
$rulenum = $rulenum - $one
$rulenum
On Tue, 2005-06-28 at 22:52, fbsd_user wrote:
> My sh shell script ability is not that good.
> Have 2 simple coding problems.
>
> How do I code a statement to subtract one from a field.
>
> $rulenum = $rulenum - 1
> $rulenum = '$rulenum - 1'
>
> one='1'
> $rulenum = $rulenum - $one
> $rulenum='$
My sh shell script ability is not that good.
Have 2 simple coding problems.
How do I code a statement to subtract one from a field.
$rulenum = $rulenum - 1
$rulenum = '$rulenum - 1'
one='1'
$rulenum = $rulenum - $one
$rulenum='$rulenum - $one'
None of that works. must really be simple.
I also
On Fri, 16 Apr 2004, Shaun Friedle wrote:
> #!/usr/bin/perl
> $timezone=`date +\%z`;#Gets the offset in $timezone
> $timezone =~ s/(\+[0-9][0-9])/$1:/; #Replaces ±NN with ±NN:
> print $timezone; #Prints $timezone
The regex should allow either a plus or a min
On Fri, 2004-04-16 at 17:05, JJB wrote:
> I know nothing about writing perl scripts.
>
> Can somebody show me how to add the : in the output
> of the date command in the simple following script?
Try this:
#!/usr/bin/perl
$timezone=`date +\%z`; #Gets the offset in $timezone
$ti
Not that i am very good in perl,
In KSH scripting it's like this:
%H:%M for a 00:00 output instead of
Perhaps that will help you:-)
(Oh the command date +%H:%M)
Cheers
Well that does not work (FYI)
Cheers (perhaps Matthew's comments on this are better ;-) )
--
Kind regards,
Remko Lod
JJB wrote:
I need $timezone to hold the time zone in this format -00:00
The command date +%z will give it as -
I know nothing about writing perl scripts.
Can somebody show me how to add the : in the output
of the date command in the simple following script?
The cat statement is just so
I need $timezone to hold the time zone in this format -00:00
The command date +%z will give it as -
I know nothing about writing perl scripts.
Can somebody show me how to add the : in the output
of the date command in the simple following script?
The cat statement is just so I can see
Awesome that worked ..Im also going to try some of the other options you
had mentioned..I wanted to thank you for your help :-)
This has got to be the best dam mailing list there is :-)
--
Brent Bailey CCNA
Bmyster LLC
Computer Networking and Webhosting
Network Engineer, Webmaster, President
http
The more I play with your script, the more fun it becomes.
#!/bin/sh
# this is a script to check drive space and email HSD dept.
#
cd ~bbailey
rm drvspc.txt # Once I'm in ~bbailey, I don't need the complete path to
any files there.
df -k |
# You have to get rid of the word 'Capacity' or your co
> #!/bin/sh
> # this is a script to check drive space and email HSD dept.
> #
> cd ~bbailey
> rm ~bbailey/drvspc.txt
> df -k | awk '{print$5}' >~bbailey/drvspc.txt
> cat drvspc.txt
> while read i
> do
> if [$i > '89']; then
This line should be:
if [ $i -gt 89 ] ; then
The spaces
Im trying to write a script that will email me when drive space on any
given partition is above a certain value.
i was trying this ...but no working ...
#!/bin/sh
# this is a script to check drive space and email HSD dept.
#
cd ~bbailey
rm ~bbailey/drvspc.txt
df -k | awk '{print$5}' >~bbailey/d
Hey,
Just an extra thought on top of the previous replies. If you wish to block
people bulk downloading, by adding a firewall rule. Perhaps the best thing
to do is not to block the ip but put a bandwidth limit on the ip address,
so your site just ends up appearing very very very slow if they try t
Server Version: Apache/1.3.27 (Unix) FrontPage/5.0.2.2510 PHP/4.3.1
The above is typical of the servers in use, and with csh shells employed,
plus IPFW.
My apologies for the length of this question, but the background seems
necessary as brief as I can make it so the question makes sense.
The prob
On Thu, Aug 14, 2003 at 08:49:49AM -0500, Jack L. Stone wrote:
> Server Version: Apache/1.3.27 (Unix) FrontPage/5.0.2.2510 PHP/4.3.1
> The above is typical of the servers in use, and with csh shells employed,
> plus IPFW.
>
> My apologies for the length of this question, but the background seems
>
Jack,
You can setup Apache to deny access to people using that browser. The
catch is that it's easy to work around it by changing the browser
string. If they are that desperate to do this after you deny access to
people using HTTRACK or other clients you can place a link that no human
would ac
At 10:36 AM 8.14.2003 -0500, Jack L. Stone wrote:
>At 03:44 PM 8.14.2003 +0100, Jez Hancock wrote:
>>On Thu, Aug 14, 2003 at 08:49:49AM -0500, Jack L. Stone wrote:
>>> Server Version: Apache/1.3.27 (Unix) FrontPage/5.0.2.2510 PHP/4.3.1
>>> The above is typical of the servers in use, and with csh sh
At 03:44 PM 8.14.2003 +0100, Jez Hancock wrote:
>On Thu, Aug 14, 2003 at 08:49:49AM -0500, Jack L. Stone wrote:
>> Server Version: Apache/1.3.27 (Unix) FrontPage/5.0.2.2510 PHP/4.3.1
>> The above is typical of the servers in use, and with csh shells employed,
>> plus IPFW.
>>
>> My apologies for t
At 08:49 14.08.2003 -0500, Jack L. Stone wrote:
...
When we started providing the articles 6-7 years ago, folks used browsers
to read the articles. Now, the trend has become a more lazy approach and
there is an increasing use of those download utilities which can be left
unattended to download enti
On Wed, 2003-07-23 at 02:04, David Bear wrote:
> I'm trying to clean up a script that controls my tape better. Among
> other things it sets some variable to use later. I've made an error
> somewhere and I'm thinking that I'm missing the obvious since I cant
> find the error. I want to set comman
I'm trying to clean up a script that controls my tape better. Among
other things it sets some variable to use later. I've made an error
somewhere and I'm thinking that I'm missing the obvious since I cant
find the error. I want to set command line options for tar. Below
taroptions has what I wa
On Tue, 8 Oct 2002, Brendan McAlpine wrote:
> Hey all,
>
> I am poring over mail logs and trying to pull out all the email
> addresses contained in the log. Does anyone have any idea how I could
> do this with a shell script?
Untested, and asuming sendmail log format:
#!/usr/bin/perl -w
while
Hey all,
I am poring over mail logs and trying to pull out all the email
addresses contained in the log. Does anyone have any idea how I could
do this with a shell script?
Thanks
Brendan
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the
89 matches
Mail list logo