On Tuesday, October 14, 2014, Greg Raven <[email protected]> wrote:

Is there such a thing as variables for Unix worksheets? I've checked the Users Manual but didn't find anything. Maybe that's just me, though.

My idea is that it would be neat to be able to have an entry in the worksheet that looked something like this:

unix-worksheet-variable = "MX"
dig -t %unix-worksheet-variable% example.org
dig -t %unix-worksheet-variable% example.com
dig -t %unix-worksheet-variable% example.net
dig -t %unix-worksheet-variable% example.info
dig -t %unix-worksheet-variable% example.biz

By changing the only worksheet variable, I could dig for MX, NS, etc., as opposed to doing a find-and-replace.

Since worksheets are backed by a shell, I would imagine that shell variables would work for this purpose.

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

--
This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to