<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Shell Script Language &#8211; Use Perl, Not Bash</title>
	<atom:link href="http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/</link>
	<description>Linux - on the Desktop</description>
	<lastBuildDate>Wed, 03 Mar 2010 06:08:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-4579</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 05 Feb 2010 19:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-4579</guid>
		<description>As a contractor that values job duration over value, I much more prefer bash:)   Honestly, these kids today checkout one my bash scripts and their heads just about fall off!</description>
		<content:encoded><![CDATA[<p>As a contractor that values job duration over value, I much more prefer bash:)   Honestly, these kids today checkout one my bash scripts and their heads just about fall off!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-4560</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Wed, 30 Dec 2009 14:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-4560</guid>
		<description>If the script I want to write does many system calls, I usually use the bash. If the script I want to write does many calculations, I use perl. If it does both, I decide which is easier. It&#039;s a matter of task.</description>
		<content:encoded><![CDATA[<p>If the script I want to write does many system calls, I usually use the bash. If the script I want to write does many calculations, I use perl. If it does both, I decide which is easier. It&#8217;s a matter of task.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cesar_spain</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-4502</link>
		<dc:creator>cesar_spain</dc:creator>
		<pubDate>Wed, 05 Aug 2009 11:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-4502</guid>
		<description>I have written a complete system for automatization in Bash:
  -&gt; Basic Mechanism: SSH/SCP remote scripting through expect to machine&#039;s lists and SQL scripts launch.
   -&gt; Intepreters: build bash scripts based on tag language that will be launched by the basic mechanism.

  For me, it was a painful experience, especially character mapping and so on. I solved this issue using temporal files with bash environment on it. 

  It took me a whole year to have something functional (tag definition language). 

  Bash is a requirement in my enviroment but I was wondering, is there any other tool that simplifies the stuff. Bash is really painful. The core, right now, is working beutifully due to it&#039;s simplicity. But it is a challenge to code a whole project (with modules, and so on).

   Another thing is that it is difficult to parallized task keeping a clear execution path. Using nohup with counters to know if all processes ended.

   As a conclusion: bash can be fine for little scripts only. I guess perl and so on allow you to manage threads and stuff like that and have a logger (you don&#039;t have to build your own logger), to make it faster, and, hopefully, faster development.

   Any ideas? It is working fine right now, and it is flexible to extend since each module do very little things. But each platform brings new stuff to change, particulary the character mapping and so on. 

   Thanks,

Cesar</description>
		<content:encoded><![CDATA[<p>I have written a complete system for automatization in Bash:<br />
  -&gt; Basic Mechanism: SSH/SCP remote scripting through expect to machine&#8217;s lists and SQL scripts launch.<br />
   -&gt; Intepreters: build bash scripts based on tag language that will be launched by the basic mechanism.</p>
<p>  For me, it was a painful experience, especially character mapping and so on. I solved this issue using temporal files with bash environment on it. </p>
<p>  It took me a whole year to have something functional (tag definition language). </p>
<p>  Bash is a requirement in my enviroment but I was wondering, is there any other tool that simplifies the stuff. Bash is really painful. The core, right now, is working beutifully due to it&#8217;s simplicity. But it is a challenge to code a whole project (with modules, and so on).</p>
<p>   Another thing is that it is difficult to parallized task keeping a clear execution path. Using nohup with counters to know if all processes ended.</p>
<p>   As a conclusion: bash can be fine for little scripts only. I guess perl and so on allow you to manage threads and stuff like that and have a logger (you don&#8217;t have to build your own logger), to make it faster, and, hopefully, faster development.</p>
<p>   Any ideas? It is working fine right now, and it is flexible to extend since each module do very little things. But each platform brings new stuff to change, particulary the character mapping and so on. </p>
<p>   Thanks,</p>
<p>Cesar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BinnyVA</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-4109</link>
		<dc:creator>BinnyVA</dc:creator>
		<pubDate>Fri, 06 Feb 2009 21:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-4109</guid>
		<description>@Vu
Good point. I am not a sysadmin - I am a programmer. So my thinking might be a bit biased in that direction.</description>
		<content:encoded><![CDATA[<p>@Vu<br />
Good point. I am not a sysadmin &#8211; I am a programmer. So my thinking might be a bit biased in that direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vu</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-4108</link>
		<dc:creator>Vu</dc:creator>
		<pubDate>Fri, 06 Feb 2009 20:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-4108</guid>
		<description>Every unix sysadmin should be well versed in shell scripting.  It&#039;s mandatory.  For that same group of people, perl is not mandatory, but a very nice to have.  Take a look at the OS init scripts.  They&#039;re all shell scripts.  These are the kinds of scripts sysadmins work with the great majority of the time.  Yes, there are times when perl makes more sense, but I would say this is rare...for the sysadmin crowd.  If you&#039;re a sysadmin, look at any decent init script.  If you can&#039;t write something similar...with the same level of difficulty/elegance, you need to improve your shell scripting skills.  Another aspect to keep in mind is shell scripting is basically just blocks of system commands.  As a sysadmin, the better you can shell script, the better you are at the command line and vice versa.  A sysadmin spends most of his time operating on the commandline.  You might as well write as much of your scripts in bash as possible to complement your commandline skills.</description>
		<content:encoded><![CDATA[<p>Every unix sysadmin should be well versed in shell scripting.  It&#8217;s mandatory.  For that same group of people, perl is not mandatory, but a very nice to have.  Take a look at the OS init scripts.  They&#8217;re all shell scripts.  These are the kinds of scripts sysadmins work with the great majority of the time.  Yes, there are times when perl makes more sense, but I would say this is rare&#8230;for the sysadmin crowd.  If you&#8217;re a sysadmin, look at any decent init script.  If you can&#8217;t write something similar&#8230;with the same level of difficulty/elegance, you need to improve your shell scripting skills.  Another aspect to keep in mind is shell scripting is basically just blocks of system commands.  As a sysadmin, the better you can shell script, the better you are at the command line and vice versa.  A sysadmin spends most of his time operating on the commandline.  You might as well write as much of your scripts in bash as possible to complement your commandline skills.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My Windows/DOS Applications &#124; Bin-Blog</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-4069</link>
		<dc:creator>My Windows/DOS Applications &#124; Bin-Blog</dc:creator>
		<pubDate>Wed, 21 Jan 2009 18:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-4069</guid>
		<description>[...] to love the features that is provided by bash(Linux shell scripting language). Then after a while, you will hate that too - and will use higher level languages. And thus, a programmer is [...]</description>
		<content:encoded><![CDATA[<p>[...] to love the features that is provided by bash(Linux shell scripting language). Then after a while, you will hate that too &#8211; and will use higher level languages. And thus, a programmer is [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jadu Saikia</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-4033</link>
		<dc:creator>Jadu Saikia</dc:creator>
		<pubDate>Thu, 18 Dec 2008 18:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-4033</guid>
		<description>Nice explanation.

http://unstableme.blogspot.com/search/label/Bash</description>
		<content:encoded><![CDATA[<p>Nice explanation.</p>
<p><a href="http://unstableme.blogspot.com/search/label/Bash" rel="nofollow">http://unstableme.blogspot.com/search/label/Bash</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam niranj</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-3710</link>
		<dc:creator>Adam niranj</dc:creator>
		<pubDate>Thu, 31 Jul 2008 05:20:56 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-3710</guid>
		<description>could any one do a favour for me.. i want a bash or python or perl script to run more than one Bash  scripts...  please help me out...</description>
		<content:encoded><![CDATA[<p>could any one do a favour for me.. i want a bash or python or perl script to run more than one Bash  scripts&#8230;  please help me out&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-3698</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 30 Jul 2008 13:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-3698</guid>
		<description>Thanks BinnyVA.</description>
		<content:encoded><![CDATA[<p>Thanks BinnyVA.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BinnyVA</title>
		<link>http://lindesk.com/2008/05/shell-script-language-use-perl-not-bash/comment-page-1/#comment-3690</link>
		<dc:creator>BinnyVA</dc:creator>
		<pubDate>Wed, 30 Jul 2008 05:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://lindesk.com/?p=107#comment-3690</guid>
		<description>@Tom
Just put those command in backticks(`). Like this

`service stop mysqld`</description>
		<content:encoded><![CDATA[<p>@Tom<br />
Just put those command in backticks(`). Like this</p>
<p>`service stop mysqld`</p>
]]></content:encoded>
	</item>
</channel>
</rss>
