<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: BASH inbuilt VARIABLES for easy scripting</title>
	<link>http://www.tecpages.com/bash-inbuilt-variables-for-easy-scripting/</link>
	<description>/var/log/messages of a system administrator . . .</description>
	<pubDate>Thu, 20 Nov 2008 23:15:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Mike Golvach</title>
		<link>http://www.tecpages.com/bash-inbuilt-variables-for-easy-scripting/#comment-378</link>
		<author>Mike Golvach</author>
		<pubDate>Thu, 08 May 2008 05:34:49 +0000</pubDate>
		<guid>http://www.tecpages.com/bash-inbuilt-variables-for-easy-scripting/#comment-378</guid>
		<description>Nice post - very easy to read and understand.

Just wanted to note that this built-in ( $- ) comes in handy for me a lot.  It returns all the flags that the shell was invoked with, like:

-bash-3.2$ echo $-
himBH

Basically, that's an interactive shell (i).  I find this very helpful in doing checking within .profile or .bashrc files.  That way if the shell is invoked interactively, I can set extra variables that wouldn't any sense to add to a non-interactive login, like an ssh command run remotely.

Great post, again!

Thanks,

      , Mike</description>
		<content:encoded><![CDATA[<p>Nice post - very easy to read and understand.</p>
<p>Just wanted to note that this built-in ( $- ) comes in handy for me a lot.  It returns all the flags that the shell was invoked with, like:</p>
<p>-bash-3.2$ echo $-<br />
himBH</p>
<p>Basically, that&#8217;s an interactive shell (i).  I find this very helpful in doing checking within .profile or .bashrc files.  That way if the shell is invoked interactively, I can set extra variables that wouldn&#8217;t any sense to add to a non-interactive login, like an ssh command run remotely.</p>
<p>Great post, again!</p>
<p>Thanks,</p>
<p>      , Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Unix Mouth &#187; BASH inbuilt VARIABLES for easy scripting</title>
		<link>http://www.tecpages.com/bash-inbuilt-variables-for-easy-scripting/#comment-47</link>
		<author>Unix Mouth &#187; BASH inbuilt VARIABLES for easy scripting</author>
		<pubDate>Thu, 15 Nov 2007 12:14:13 +0000</pubDate>
		<guid>http://www.tecpages.com/bash-inbuilt-variables-for-easy-scripting/#comment-47</guid>
		<description>[...] read more &#124; digg story [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] read more | digg story [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
