<?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>Development Blog &#187; shell script</title>
	<atom:link href="http://blog.yeticode.co.uk/tag/shell-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.yeticode.co.uk</link>
	<description>John Tindell's Blog For Development Related Things</description>
	<lastBuildDate>Wed, 23 Jun 2010 18:17:43 +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>SVN Notify by Email</title>
		<link>http://blog.yeticode.co.uk/2009/10/svn-notify-by-email/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=svn-notify-by-email</link>
		<comments>http://blog.yeticode.co.uk/2009/10/svn-notify-by-email/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 23:45:49 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Development Log]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://blog.yeticode.co.uk/?p=601</guid>
		<description><![CDATA[Svn hook to email you information in post commit hook. Install svnnotify which will be used to send the email yum install perl-CPAN perl -MCPAN -e 'install SVN::Notify' perl -MCPAN -e 'install SVN::Notify::HTML::ColorDiff' The post-commit script #!/bin/sh for i in 'email1@domain.co.uk' 'email2@domain.com' do svnnotify --repos-path "$1" \ --revision "$2" \ --to $i \ --from account@example.co.uk [...]]]></description>
			<content:encoded><![CDATA[<p>Svn hook to email you information in post commit hook.</p>
<p>Install svnnotify which will be used to send the email</p>
<pre name="code" class="sh">
yum install perl-CPAN
perl -MCPAN -e 'install SVN::Notify'
perl -MCPAN -e 'install SVN::Notify::HTML::ColorDiff'
</pre>
<p>The post-commit script</p>
<pre name="code" class="sh">
#!/bin/sh
for i in 'email1@domain.co.uk' 'email2@domain.com'
do
	svnnotify --repos-path "$1" \
		--revision "$2" \
		--to $i \
		--from <a href="mailto:account@example.co.uk">account@example.co.uk</a> \
		--handler HTML::ColorDiff -d \
done
</pre>]]></content:encoded>
			<wfw:commentRss>http://blog.yeticode.co.uk/2009/10/svn-notify-by-email/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Get PDF Word Count In Linux</title>
		<link>http://blog.yeticode.co.uk/2009/03/get-pdf-word-count-in-linux/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=get-pdf-word-count-in-linux</link>
		<comments>http://blog.yeticode.co.uk/2009/03/get-pdf-word-count-in-linux/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 15:45:18 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Off Topic]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://blog.yeticode.co.uk/?p=113</guid>
		<description><![CDATA[Quick easy way to get the word count of a pdf. # pdfwc.sh # usage ./pdfwc.sh filename.pdf # TMPFILE=___tmpfile.tmp pdftotext $1 $TMPFILE wc $TMPFILE -w rm $TMPFILE]]></description>
			<content:encoded><![CDATA[<p>Quick easy way to get the word count of a pdf.</p>
<pre name="code" class="c">
# pdfwc.sh
# usage ./pdfwc.sh filename.pdf
#
TMPFILE=___tmpfile.tmp
pdftotext $1 $TMPFILE
wc $TMPFILE -w
rm $TMPFILE
</pre>]]></content:encoded>
			<wfw:commentRss>http://blog.yeticode.co.uk/2009/03/get-pdf-word-count-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
