[aklug] Re: Exit status of scripts

From: James Zuelow <James_Zuelow@ci.juneau.ak.us>
Date: Fri Jun 05 2009 - 14:51:26 AKDT

> #!/bin/bash
> # NTLM average service time in milliseconds
> ntlm=3D3D`printf %.0f $(squidclient -p 8080=20
> mgr:ntlmauthenticator@password \
> | grep avg | cut -d " " -f 4 )`
> exit $ntlm

WOW.

An "equals 3D" is an equals sign.

So the important line starts off saying ntlm equals backtick and continues =
on until the last backtick.
Then the next line just exits with the value of ntlm.=
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Jun 5 14:51:40 2009

This archive was generated by hypermail 2.1.8 : Fri Jun 05 2009 - 14:51:40 AKDT