<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DevOnLinux &#187; shell scripting</title>
	<atom:link href="http://blog.devonlinux.net/category/shell-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.devonlinux.net</link>
	<description>ICT solutions that work</description>
	<lastBuildDate>Mon, 07 Feb 2011 11:09:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Shell Editor in Eclipse thanks to ShellEd plugin</title>
		<link>http://blog.devonlinux.net/2010/11/01/shell-editor-in-eclipse-thanks-to-shelled-plugin/</link>
		<comments>http://blog.devonlinux.net/2010/11/01/shell-editor-in-eclipse-thanks-to-shelled-plugin/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 17:43:33 +0000</pubDate>
		<dc:creator>ed0t</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[shell scripting]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://blog.devonlinux.net/?p=272</guid>
		<description><![CDATA[ShellEd is an interesting plugin that provides some features to who wants to write bash scripts using Eclipse. The main feature ShellEd provides are syntax highlighting autocompletition integration of man pages I&#8217;ve encountered some problems while trying to install it because it has some dependencies and since everytime i&#8217;ve installed it i fell into errors [...]]]></description>
			<content:encoded><![CDATA[<p><a title="get ShellEd" href="http://sourceforge.net/projects/shelled/"><img class="alignright size-full wp-image-285" style="border: 0px;" title="eclipse" src="http://blog.devonlinux.net/wp-content/uploads/2010/09/eclipse.png" alt="" width="150" height="84" align="right" />ShellEd</a> is an interesting plugin that provides some features to who wants to write bash scripts using <a title="Articles tagged Eclipse" href="http://blog.devonlinux.net/tag/eclipse/">Eclipse</a>.</p>
<p>The main feature ShellEd provides are</p>
<ul>
<li>syntax highlighting</li>
<li>autocompletition</li>
<li>integration of man pages</li>
</ul>
<p>I&#8217;ve encountered some problems while trying to install it because it has some dependencies and since everytime i&#8217;ve installed it i fell into errors i decided to write this quick post as a reminder. By the way, I am using Eclipse 3.5.2.</p>
<p>First of all, right now there isn&#8217;t any Update Sites that provides an easy and automatic installation of the plugin, so the easiest thing you can do is to download the plugin and add it as a local archive.</p>
<p>If then you try to install it, Eclipse tells you that ShellEd needs some dependencies that are not satisfied.</p>
<p>In particular it says that a <strong>org.eclipse.dltk.ui </strong>is not found. To solve this you have to install DLTK core library.</p>
<p>Right now there are two different version of DLTK: dltk 1.0 and dltk 2.0 and if you have some other plugin installed (such as PHP developer tool) you can have it installed using version 1.0</p>
<p>At the moment the last release of <span style="text-decoration: underline;">ShellEd is 2.0.0 M3</span> that only works with <span style="text-decoration: underline;">DLTK 2.0</span> so if you have DLTK already installed and you can&#8217;t update it you have to download <span style="text-decoration: underline;">ShellEd 2.0.0 M2</span>.</p>
<p>To have ShellEd up and running you have to satisfy another dependency which is the Man library that comes with <a title="Go to LinuxTools homepage" href="http://www.eclipse.org/linuxtools/">LinuxTools</a> (nda another Eclipse plugin.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devonlinux.net/2010/11/01/shell-editor-in-eclipse-thanks-to-shelled-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple map site</title>
		<link>http://blog.devonlinux.net/2010/01/12/simple-map-site/</link>
		<comments>http://blog.devonlinux.net/2010/01/12/simple-map-site/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 12:14:50 +0000</pubDate>
		<dc:creator>neuromancer</dc:creator>
				<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[shell scripting]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[site-map]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://blog.devonlinux.net/?p=198</guid>
		<description><![CDATA[A little shell script that I&#8217;ve used to generate the list of page composing a given site #!/bin/bash if [ "$#" -eq 2 ] then wget -erobots=off --mirror --delete-after --reject .jpg,.png,.gif,.swf,.css,.js,.txt,.pdf,.rtf,.odt,.doc $1 2>&#038;1 &#124;grep $1 &#124;cut -d " " -f 4 &#124;cut -d "?" -f 1 &#124; sort &#124; uniq > $2 rm -rf ${1#http://} [...]]]></description>
			<content:encoded><![CDATA[<p>A little shell script that I&#8217;ve used to generate the list of page composing a given site<br />
<code><br />
#!/bin/bash<br />
if [ "$#" -eq 2 ]<br />
then<br />
	wget -erobots=off --mirror --delete-after --reject .jpg,.png,.gif,.swf,.css,.js,.txt,.pdf,.rtf,.odt,.doc $1 2>&#038;1 |grep $1 |cut -d " " -f 4 |cut -d "?" -f 1 | sort | uniq > $2<br />
	rm -rf ${1#http://}<br />
else<br />
	echo "Usage: ./scriptname http://testsite outputfile"<br />
fi<br />
</code><br />
Save with a desired file name and give it a chmod +x and then just launch from shell:<br />
<strong>./scriptname http://testsite outputfile</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devonlinux.net/2010/01/12/simple-map-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.457 seconds -->

