be a bear to set up) and masqmail (which I have
not used but once saw recommended on the lkml).
Both msmtp and EM-R will handle the usual methods of authentication
with the upstream MX server.
HTH,
Robert Thorsby
It is impossible to make anything foolproof
because fools are ingenious.
that?
--
Robert Thorsby
The three sentences that will get you through life.
Number one: "Cover for me."
Number two: "Oh, good idea, boss."
Number three: "It was like that when I got here."
-- Homer Simpson
--
SLUG - Sydney Linux User's Group Mailing List
On 18/09/08 11:47:21, Matthew Hannigan wrote:
> Did you CC or BCC all your friends?
>
> If you CC a lot of people, that can be taken
> as an indicator of spam.
No. Each email was sent individually, properly addressed to that person
only. There was no Cc'ing or Bcc'ing. The sender application was
Dan Bernstein deliberately stuffed
up email protocols. But now M$, which hitherto seemed only to stuff up
protocols by accident out of ignorance, has joined him.
--
Robert Thorsby
In /dev/null no one can hear the kernel panic!
--
SLUG - Sydney Linux User's Group Mailing List - http:
ders or expand
existing headers (eg, to expand "[EMAIL PROTECTED]" to "John Smith
<[EMAIL PROTECTED]>") with the two mail clients mentioned above.
Robert Thorsby
MSOOXML - Not the best standard money can buy.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
On 18/12/07 17:33:25, Scott Ragen wrote:
> This seems to work too:
> cat input.txt |tr -dC ',' |wc -c
Use redirection to eliminate cat
tr -dC ',' < input.txt | wc -c
Robert Thorsby
Let me know if you don't receive this message.
-- email signatu
On 18/12/07 16:50:17, Jeff Waugh wrote:
> > Something like the following might be close:
> > awk 'BEGIN{FS=","}{$0~",$":i=i+NF?i=i+NF-1}END{print(i)}' input.txt
>
> Close in what sense, the syntax error, the length, or the output? ;-)
>
> - Jeff
Syntax error granted -- just keeping you on your t
On 18/12/07 16:45:18, Robert Thorsby wrote:
> Something like the following might be close:
>
> awk 'BEGIN{FS=","}{$0~",$":i=i+NF?i=i+NF-1}END{print(i)}' input.txt
Oops, I transposed the ":" and the "?" in the conditional. Just shows
On 18/12/07 16:32:03, Jeff Waugh wrote:
> That's part of the challenge.
>
> sed 's#[^,]*##g' input.txt | tr -d '\n' | wc -m
Something like the following might be close:
awk 'BEGIN{FS=","}{$0~",$":i=i+NF?i=i+NF-1}END{print(i)}'
tty easily.
> Is there a docking cradle available?
I don't recall seeing one but there are all the usual connectors
(except for miniPCI) and someone in the States has already replaced the
OS with ?ubuntu, so "docking" could be easily achieved via the LAN
connection.
--
Robe
On 06/12/07 08:29:00, Jeff Waugh wrote:
>
>> So they've sold out apparently.
>> Anyone got one? Comments?
>
> Seen one up close... Screen's too
> bloody small. If I get one at all,
> I'll be waiting for the 10" version.
Also, for one that doesn
" and "kcontrol"
> in a root shell] may work better with "kdesu -c ..."
Nope -- although there was less printed to stderr. I suspect that the
problems were the same (sudo, and variants, and permissions).
Thanks for the suggestions,
Robert Thorsby
Never make predict
uot;root shell" also does not work for different reasons
which I suspect may also be related to permissions.
Can anyone point me in the right direction? Replacing KDE with GNOME is
not an option. :-)
TIA,
Robert Thorsby
When a man tells you he got rich through hard work, ask him: "
s/[EMAIL PROTECTED]//'`
echo "${#EXPRESSION0}"
echo "${#EXPRESSION1}"
HTH,
Robert Thorsby
Where a computer like the ENIAC is equipped with 18,000
vacuum tubes and weighs 30 tons, computers in the future
may have only 1,000 vacuum tubes and weigh only 1 1/2 tons.
give
you a bash script that I use to inform four dozen or so of my most
intimate friends that the next meeting of our local LUG is imminent.
HTH,
Robert Thorsby
Nothing is better than grub;
Lilo is better than nothing;
Ergo, lilo is better than grub.
-- Anon
--
SLUG - Sydney Lin
(using top posting and full quoting) got to over 300KB.
On another occasion the autoreplies from GraysOnline (that were
actually sent from the email addresses of specific Grays personnel)
ping-ponged to over a dozen included messages.
Ah! The joys of emailing in the modern age.
Robert Thor
(for "hold pattern space").
Anyway, sed can search for regexes that extend beyond one line --
particularly useful if you want to replace (say) "Sydney Linux Users
Group" with "SLUG" and you suspect that "S... L... U... G..." may, or
may not, be split over two
for "expect" you will get 78 results some of
which are clearly not appropriate. However, some (eg, syncpasswd) might
be suitable for your purposes.
--
Robert Thorsby
Cogito, ergo sum. [I think, therefore I am.]
Sum, ergo edo. [I am, therefore I eat.]
Cogito, ergo doleo. [I think, the
On 2007.09.25 15:16 "Visser, Martin" wrote:
Robert, by explanation and driven by the context of
the original poster, they are a different use-cases.
"*dialogs" are very useful when the "user" entering
the commands is sitting on the outside of the glass.
It makes it easy to write a simple unambi
On 2007.09.25 12:56 Sonia Hamilton wrote:
On Tue, 25 Sep 2007 11:25:44 +1000, "Robert Thorsby"
I prefer to use one of the *dialog utilities (ie, dialog,
kdialog, gdialog, or -- my dialog-du-jour -- Xdialog) in
a shell script and validate the user input in the script.
It looks a h
ne of the *dialog utilities (ie, dialog, kdialog,
gdialog, or -- my dialog-du-jour -- Xdialog) in a shell script and
validate the user input in the script. It looks a helluva lot better
than expect via a command line. It's prolly also more versatile.
Robert Thorsby
--
SLUG - Sydney Linux Us
On 2007.05.29 15:33 ashley maher wrote:
Does anybody know of a reliable svg=>png renderer?
Have you tried convert (part of the ImageMagick suite)? The man page
for IM claims to support SVG.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subs
me that it wasn't.
Of course, now that Telstra is (or is about to be) fully privatised
their arrogance will increase exponentially.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
On 2007.04.19 10:39 Sonia Hamilton wrote:
> On Wed, Apr 18, 2007 at 06:52:40AM +1000,
> Robert Thorsby wrote:
> Up our way (Mid North Coast) the response has
> been universal -- NextG is crap. Most who were
> coerced by Telstra into "converting" their mobiles
> are tr
(read: prohibitively expensive and ssllooww) with
satellites ...
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
On 2007.04.08 18:58 Erik de Castro Lopo wrote:
Does anyone know of a tool that can tag a PNG file
with meta data? I've found pngmeta which will dump
it, but nothing that will add it.
ImageMagick might be a good starting point.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Ma
ajor academic thesis/treatise styles
and has all the usual bells and whistles regarding toc, citations,
bibliographies, etc. I think it has been ported to W...$
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
sting
purposes. My ISP, who is a friend, thought the question "rather quaint"
and plucked 20 out of the air.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
lushes the queue, then
dumps individualised emails for the next n addressees, then flushes the
queue, ... .
So, what should be the value of n? Should it be a measurement by number
or mass?
BTW, my address list contains dozens, not thousands, of addresses.
Robert Thorsby
--
SLUG - Sydney Li
in name -- they have simply
accepted that my mailing address is
robert<>thorsby<>com<>au rather than [EMAIL PROTECTED]
However, current ISP inserts a "(may be forged)" into the first
Received header whener I send mail through him from [EMAIL PROTECTED] --
I shall be s
e the following line in your mutt config file..."
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
east, as
best I can.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
On 2006.12.18 09:51 Howard Lowndes wrote:
Robert Thorsby wrote:
I am a 60 tear old who lives in the bush and is totally
self taught. I know no programming languages at all, but
I can do almost anything I want by using a combination
of bash, sed and awk. As a "proof of concept" I wr
nguages at all, but I can do almost anything I
want by using a combination of bash, sed and awk. As a "proof of
concept" I wrote a bash script for writing a letter on "letterhead"
paper, using dialog boxes for input and groff for typesetting -- I now
use my script in prefer
anned image.
Is there some way to extract the image out of the PDF file
so I can print it by some other means?
Try pdf2ps which might give you a "printable" output.
Try pdfimages.
Try pdftk (PDF Toolkit)
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List
of the GPL is not infringed.
In other words, "Distribute and be Damned!"
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
On 2006.11.06 11:10 Rev Simon Rumble wrote:
This one time, at band camp, Robert Thorsby wrote:
> I'm sure everybody has noticed the massive upsurge in spam
> over the last two-three weeks. This increase in volume seems
> to have begun at about the end of the NSW school holidays,
in the interests of those ISPs and phone providers
that charge for traffic in both directions [no names, no pack drill].
But that surely can't be right :-)
BTW, I've posted to SLUG-main rather than SLUG-chat because spam can
never be OT on a list that itself is so heavily hammered.
but the most common format for stuff like
this, at least in the graphic design and publishing worlds,
would be TIFF.
Would not eps (which is practically made for grayscale and line
drawings) would be a more appropriate format?
Robert Thorsby
--
SLUG - Sydney Linux User's Group Ma
(more or less) to do precisely that. And break every email protocol in
the known universe -- but that's just DJB.
Or use spamassassin ... or greylisting ... or subscriber only ... or
just about anything.
Better yet. Don't give out your email address to **anyone**
Robert Thorsby
-
On 2006.09.01 15:26 Jeff Waugh wrote:
$ convert -size 800x600 pants.jpg \
-resize 800x600 +profile "*" > crap.jpg
convert: option requires an argument `+profile'.
$ convert -size 800x600 -resize 800x600 \
+profile "*" pants.jpg crap.jpg
svengali: /tmp
$ echo $?
0
Yep. That worked! Ta muchly.
output.jpg
Error message:
convert: option requires an argument `+profile'.
The command line input is as per the man page and works perfectly in
RH. I have tried it in Kubuntu without the profile option and without
the size option and without both options.
Robert Thorsby
--
SLUG - Sy
tting a little frustrated by the
requirement to copy images to a RH box just so that I can run convert
successfully from the CLI.
Can anyone provide a cluestick.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
ding emails from the command
line. It's very easy to use them in shell scripts.
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
ladly put you on the right track. But first you
must show us that you have really attempted the assignment by yourself
unassisted.
I hesitate to tell anyone to RTFM but in this case it is entirely
appropriate.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://s
that
have been accidentally dumped into the spam folder and not nuked. But I
am concerned about ACMA's reaction if they receive same.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
ust dump the WBL into the body of
an ordinary email under cover of an appropriate Subject header?
Ta muchly,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
te clear
Anyhow, my main point is that any form of '-i' is a nonstandard
extension.
In the context of the request I did not think that portability was an
issue. If it were, then clearly something more than my Q&D command
one-liner might be desirable.
Robert Thorsby
--
SLUG -
On 2006.05.26 21:47 Sam Lawrance wrote:
On 26/05/2006, at 6:50 PM, Robert Thorsby wrote:
cd /path/to/directory/
for FILE in
do
if grep -q "text to be replaced" "$FILE"
then
sed -i 's/text to be replaced/replacement text/g'
"$FILE"
be replaced/replacement text/g'
"$FILE"
fi
done
Notes:
1. "grep -q" does not need to be in [test brackets] because it is
a test in its own right
2. if you have filenames with spaces or funny characters it serves
yourself right.
HTH,
Robert Thorsby
On 2006.03.10 14:02 Terry Collins wrote:
Robert Thorsby wrote:
> Try groff
EXCELLENT, because you included an example that
worked {:-) and it was a simple text based solution.
> LABEL TEXT HERE
> second line of text here < leave a space at start
It may be easier to l
a4l -P-l text.file > postscript.file
or
groff -dpaper=a4l -P-l text.file | lpr -l
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
. Call date a second time with the --date
option (and the earlier resultant time as the "--date" string value)
with a single argument of %s -- this will return the epoch value of
that particular time. Then subtract the two %s results.
Robert Thorsby
--
SLUG - Sydney Linux User'
On too many occasions too many people have written.
For Heavens sake, if you mob must continue this "how many angels can
stand on the head of a pin" argument would you please do so on the chat
m/l.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - htt
used these other widgets though...
Ta muchly. That's what I was looking for -- much cleaner.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
xterm -ut +l +ls +bc -font 10x20 -geometry 40x4 -title "$TITLE" \
-mesg -e "/tmp/emergency_script"
rm "/tmp/emergency_script"
exit 1
fi
...
END SCRIPT SNIPPET <<<<<<<<<<<<<
BTW, "emergency_script" still works
line user and an equally
dedicated avoider of Microsoft, I am somewhat stuck.
Can anyone, please, suggest an application that
will do what I have been requested?
If it's something simple you're after, what about dialog or its
variations (I prefer Xdialog).
HTH,
Robert Thorsby
--
SLUG
ssage
changes daily) then bash does its duty.
Probably not secure but it gives me a warm and fuzzy feeling.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
en plugged into a network. There might have
been something in the article about getting data off it
remotely too.
Very handy for this type of theft.
I'll make a scan of it if anyone is interested.
Yes please.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.
de.html
I roughly decoded it to a two-liner:
-e "print \"#!\usr\bin\perl
use Socket; use IO::Handle; use POSIX; $proto =
getprotobyname('tcp');\"" >/var/tm
[the second line may word wrap]
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Ma
it means that by the time it gets to the High
Court at least nine senior judges will have decided (n+1):n for 2n+1
different reasons (all of which usually conflict with the other
judgements on the same side). In which event at least one of them will
have said: Clearly, ... .
HTH,
Robert Thorsby
--
command line driven, it should lend itself to all sorts of
manipulation.
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
position to knock back a willing
worker.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
x
>password :
at this point I want the shell script to feed it the password yy
I've tried | , < to no avail. Read the manpages. no dice.
Try:
http://expect.nist.gov/
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: h
is not a reputable tech on the planet who will warrant repairs to
water damaged computers -- therefore, your insurer will have to write
them off. Further, because the equipment has been classed as
"unrepairable" they may let you keep it (they may even pay you to
dispose of it).
Robe
wk -v i="$BASH_VAR_1" -v j="$BASH_VAR_2" 'BEGIN {
print i
print j
}
{
print ($0)
}'
Cheers,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
)
Try the "i" option in sed or the "BEGIN" option in awk. In sed each
newline except the last must be escaped. In awk each shell variable
must be declared as a switch.
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
ns on multiple images in the GIMP?
Perhaps you could use the ImageMagick utility "convert". Convert has a
rotate option -- see:
http://linux.about.com/library/cmd/blcmdl1_ImageMagick.htm
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscr
, changed, etc in the same way as an awk variable that
is defined within the substantive awk script.
AFAIK awk cannot export back into the shell so you have to resort to
either making awk write to a [temp] file or turning the entire awk part
of your script into a variable.
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
n (that's the reason
it's there):
#!/bin/bash
TEST="Here"
echo "is a test" |
/usr/bin/awk -v i="$TEST" '{print ("\"" i, $0 ".\"")}'
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
into groff, please?
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
ile exists and can be written to
-x = file exists and is executable
-a = and
-o = or
[put both tests inside the one set of brackets, separated by -a or -o]
see "man test"
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQ
On 2004.08.17 14:59 David wrote:
I'm using a cron script every minute to ping outside my network. The
address I'm using is one given to me for this purpose by my new
provider (Activ/Powertel).
#!/bin/sh
# first ping occassionally gives false reading. Second one confirms.
ping -c 1 xxx.xxx.xxx.xxx >
ages compared to Tcl.
For something simple one of the dialogs might be enough. I use Xdialog
for my shell scripting: it should handle what you describe.
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
I suggest you have a look at IPCop
<http://ipcop.sourceforge.net/cgi-bin/twiki/view/IPCop/WebHome>
HTH,
Robert Thorsby
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
75 matches
Mail list logo