<?xml version="1.0" encoding="ISO-8859"?>
<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>Electricmonk.nl weblog &#187; shell scripting</title>
	<atom:link href="http://www.electricmonk.nl/log/category/programming/shell-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.electricmonk.nl/log</link>
	<description>Ferry Boender&#039;s ramblings</description>
	<lastBuildDate>Mon, 05 Jul 2010 05:15:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Excluding results of a &#039;find&#039; command (inverting tests)</title>
		<link>http://www.electricmonk.nl/log/2009/11/10/excluding-results-of-a-find-command-inverting-tests/</link>
		<comments>http://www.electricmonk.nl/log/2009/11/10/excluding-results-of-a-find-command-inverting-tests/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 15:10:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[shell scripting]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.electricmonk.nl/log/?p=4443</guid>
		<description><![CDATA[In kind of a follow up to my previous post on using find and sed to search and replace multiple files, I found out something else. I needed to find and replace something in every file, except for any files which had &#034;.svn&#034; in them. After struggling for a few fruitless minutes with -regex, I [...]]]></description>
		<wfw:commentRss>http://www.electricmonk.nl/log/2009/11/10/excluding-results-of-a-find-command-inverting-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux search and replace</title>
		<link>http://www.electricmonk.nl/log/2009/11/09/linux-search-and-replace/</link>
		<comments>http://www.electricmonk.nl/log/2009/11/09/linux-search-and-replace/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 11:17:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[shell scripting]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.electricmonk.nl/log/?p=4437</guid>
		<description><![CDATA[I always kept a small Python script around for searching and replacing in Linux. Turns out that GNU sed has an inline edit mode which I didn&#039;t know about: -i[SUFFIX], --in-place[=SUFFIX] edit files in place (makes backup if extension supplied) This makes searching and replacing in files as simple as: find . -name "*.txt" -print0 [...]]]></description>
		<wfw:commentRss>http://www.electricmonk.nl/log/2009/11/09/linux-search-and-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>chkrootkit false positives filtering</title>
		<link>http://www.electricmonk.nl/log/2007/11/29/chkrootkit-false-positives-filtering/</link>
		<comments>http://www.electricmonk.nl/log/2007/11/29/chkrootkit-false-positives-filtering/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 09:09:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[shell scripting]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.electricmonk.nl/log/2007/11/29/chkrootkit-false-positives-filtering/</guid>
		<description><![CDATA[Chkrootkit is a tool that searches for rootkits, trojans and other signs of break-ins on your system. Like most security scanners, it sometimes generates false positives. Chkrootkit doesn&#039;t have a native way to filter those out. From the FAQ: [Q:] chkrootkit is reporting some files and dirs as suspicious: `.packlist&#039;, `.cvsignore&#039;, etc. These are clearly [...]]]></description>
		<wfw:commentRss>http://www.electricmonk.nl/log/2007/11/29/chkrootkit-false-positives-filtering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Floating point stuff in Bash</title>
		<link>http://www.electricmonk.nl/log/2006/01/30/floating-point-stuff-in-bash/</link>
		<comments>http://www.electricmonk.nl/log/2006/01/30/floating-point-stuff-in-bash/#comments</comments>
		<pubDate>Mon, 30 Jan 2006 20:53:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[shell scripting]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Shell scripting is powerful, but unfortunatelly it gets less easy if you want to perform floating point calculations in it. There&#039;s expr, but it only handles integers: [todsah@jib]~$ echo `expr 0.1 + 0.1` expr: non-numeric argument If you wish to perform floating point calculations in shell scripts, you can use the bc tool: &#034;bc &#8211; [...]]]></description>
		<wfw:commentRss>http://www.electricmonk.nl/log/2006/01/30/floating-point-stuff-in-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More XML Commandline unix tools</title>
		<link>http://www.electricmonk.nl/log/2005/11/08/more-xml-commandline-unix-tools/</link>
		<comments>http://www.electricmonk.nl/log/2005/11/08/more-xml-commandline-unix-tools/#comments</comments>
		<pubDate>Tue, 08 Nov 2005 13:53:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[shell scripting]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[A little while ago I reported on a little XML toolset called XMLStarlet. XMLStartlet provided a bunch of commandline tools for reading and converting XML files from the commandline. Usefull in scripts. However, it uses a pretty complex interfacing. For instance, you&#039;ll have to know XPath to easily select a particular piece of XML to [...]]]></description>
		<wfw:commentRss>http://www.electricmonk.nl/log/2005/11/08/more-xml-commandline-unix-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML commandline toolset</title>
		<link>http://www.electricmonk.nl/log/2005/09/13/xml-commandline-toolset/</link>
		<comments>http://www.electricmonk.nl/log/2005/09/13/xml-commandline-toolset/#comments</comments>
		<pubDate>Tue, 13 Sep 2005 19:10:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[libre software]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[shell scripting]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Those who are familiar with Unix commandline tools like grep, sed and cut will know about the enormous power they provide. They make it a breeze to mangle, transform and retrieve information in and from text files. Unfortunately, they&#039;re mostly dependant on row and column based information. That is, they expect each line in a [...]]]></description>
		<wfw:commentRss>http://www.electricmonk.nl/log/2005/09/13/xml-commandline-toolset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
