Re: [SLUG] remote mail system

2008-10-22 Thread Robert Thorsby
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.

[SLUG] RFC5321 and RFC5322 Email Protocols

2008-10-20 Thread Robert Thorsby
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

Re: [SLUG] Microsoft and Email Protocols

2008-09-17 Thread Robert Thorsby
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

[SLUG] Microsoft and Email Protocols

2008-09-17 Thread Robert Thorsby
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:

Re: [SLUG] mutt Reply-To:

2008-04-30 Thread Robert Thorsby
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

Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-17 Thread Robert Thorsby
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

Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-17 Thread Robert Thorsby
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

Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-17 Thread Robert Thorsby
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

Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-17 Thread Robert Thorsby
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)}'

Re: [SLUG] Eee

2007-12-05 Thread Robert Thorsby
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

Re: [SLUG] Eee

2007-12-05 Thread Robert Thorsby
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

Re: [SLUG] Kubuntu 7.10 Network Settings

2007-11-19 Thread Robert Thorsby
" 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

[SLUG] Kubuntu 7.10 Network Settings

2007-11-19 Thread Robert Thorsby
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: "

Re: [SLUG] RegEx question

2007-11-08 Thread Robert Thorsby
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.

Re: [SLUG] Using Perl scripts to send mail

2007-10-26 Thread Robert Thorsby
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

Re: [SLUG] Bloody uow.edu.au don't comply with email RFCs

2007-10-10 Thread Robert Thorsby
(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

Re: [SLUG] treating \n like any other character

2007-10-03 Thread Robert Thorsby
(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

Re: [SLUG] expect - more modern tool available?

2007-09-30 Thread Robert Thorsby
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

Re: [SLUG] expect - more modern tool available?

2007-09-25 Thread Robert Thorsby
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

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread Robert Thorsby
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

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread Robert Thorsby
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

Re: [SLUG] svg to png rendering

2007-05-29 Thread Robert Thorsby
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

Re: [SLUG] Bigpond NextG on Linux (Ubuntu)?

2007-04-19 Thread Robert Thorsby
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

Re: [SLUG] Bigpond NextG on Linux (Ubuntu)?

2007-04-18 Thread Robert Thorsby
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

Re: [SLUG] Bigpond NextG on Linux (Ubuntu)?

2007-04-17 Thread Robert Thorsby
(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

Re: [SLUG] Tagging PNG files

2007-04-08 Thread Robert Thorsby
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

Re: [SLUG] Academic research software

2007-02-25 Thread Robert Thorsby
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

Re: [SLUG] Bulk Mail Etiquette

2007-02-15 Thread Robert Thorsby
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

[SLUG] Bulk Mail Etiquette

2007-02-15 Thread Robert Thorsby
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

Re: [SLUG] Checking my understanding of using DynDNS.org services.

2007-02-11 Thread Robert Thorsby
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

Re: [SLUG] Checking my understanding of using DynDNS.org services.

2007-02-11 Thread Robert Thorsby
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

Re: [SLUG] Spam again

2007-01-09 Thread Robert Thorsby
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

Re: [SLUG] Programming language

2006-12-17 Thread Robert Thorsby
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

Re: [SLUG] Programming language

2006-12-17 Thread Robert Thorsby
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

Re: [SLUG] Extracting images from PDF file?

2006-11-24 Thread Robert Thorsby
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

Re: [SLUG] Novell and Microsoft

2006-11-06 Thread Robert Thorsby
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

Re: [SLUG] Some Thoughts Regarding Spam

2006-11-05 Thread Robert Thorsby
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,

[SLUG] Some Thoughts Regarding Spam

2006-11-05 Thread Robert Thorsby
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.

Re: [SLUG] Black/white drawing formats

2006-11-04 Thread Robert Thorsby
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

Re: [SLUG] Another anti-spam idea

2006-11-02 Thread Robert Thorsby
(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 -

Re: [SLUG] Ubuntu and ImageMagick's Convert Utility

2006-08-31 Thread 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.

Re: [SLUG] Ubuntu and ImageMagick's Convert Utility

2006-08-31 Thread Robert Thorsby
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

[SLUG] Ubuntu and ImageMagick's Convert Utility

2006-08-31 Thread Robert Thorsby
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

Re: [SLUG] E-mail logs.

2006-08-21 Thread Robert Thorsby
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

Re: [SLUG] linux assignment

2006-08-15 Thread Robert Thorsby
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

Re: [SLUG] `new' effort at spam fighting?

2006-05-31 Thread Robert Thorsby
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

Re: [SLUG] `new' effort at spam fighting?

2006-05-30 Thread Robert Thorsby
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

Re: [SLUG] awk sed (grep?)

2006-05-26 Thread Robert Thorsby
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 -

Re: [SLUG] awk sed (grep?)

2006-05-26 Thread Robert Thorsby
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"

Re: [SLUG] awk sed (grep?)

2006-05-26 Thread Robert Thorsby
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

Re: [SLUG] Replacement for Gimp - Labelling folders

2006-03-09 Thread 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

Re: [SLUG] Replacement for Gimp - Labelling folders

2006-03-09 Thread Robert Thorsby
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

Re: [SLUG] BASH oddity

2005-09-19 Thread Robert Thorsby
. 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'

Re: [SLUG] apt gpg key for planetmirror

2005-09-11 Thread Robert Thorsby
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

Re: [SLUG] Using Xterms in Shell Scripts

2005-08-16 Thread Robert Thorsby
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

[SLUG] Using Xterms in Shell Scripts

2005-08-16 Thread Robert Thorsby
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

Re: [SLUG] Templates and their manufacture.

2005-07-04 Thread Robert Thorsby
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

Re: [SLUG] Execution via email ?

2005-06-20 Thread Robert Thorsby
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

Re: [SLUG] stolen laptop

2005-06-16 Thread Robert Thorsby
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.

Re: [SLUG] converting '%' hex chars back to text ?

2005-05-27 Thread Robert Thorsby
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

Re: [SLUG] Can anyone tell me what ns1.aztec.20.com is???

2005-04-25 Thread Robert Thorsby
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 --

Re: [SLUG] Managing incoming faxes

2005-03-04 Thread 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

Re: [SLUG] Re: Nomination: Lindsay Holmwood

2005-02-28 Thread Robert Thorsby
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

Re: [SLUG] how to get shell script to supply password ?

2005-01-12 Thread Robert Thorsby
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

Re: [SLUG] OT: Water damaged computers

2004-12-20 Thread Robert Thorsby
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

Re: [SLUG] Insert text at the beginning of a file

2004-12-14 Thread Robert Thorsby
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

Re: [SLUG] Insert text at the beginning of a file

2004-12-14 Thread Robert Thorsby
) 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

Re: [SLUG] Seeking GNOME application for image manipulation

2004-09-15 Thread Robert Thorsby
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

Re: [SLUG] escaping variables in bash

2004-09-14 Thread Robert Thorsby
, 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

Re: [SLUG] escaping variables in bash

2004-09-13 Thread Robert Thorsby
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

[SLUG] Additional groff Fonts in RedHat 9

2004-08-29 Thread Robert Thorsby
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

Re: [SLUG] testing for file existanace, and an 'and' in a script

2004-08-18 Thread Robert Thorsby
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

Re: [SLUG] testing network status

2004-08-16 Thread Robert Thorsby
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 >

Re: [SLUG] tcl script - help needed

2004-07-28 Thread Robert Thorsby
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

Re: [SLUG] which linux and what hardware specs

2003-01-30 Thread Robert Thorsby
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