<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="0.92">
<channel>
	<title>Linux</title>
	<link>http://linux.blowshard.net</link>
	<description>/dev/urandom</description>
	<lastBuildDate>Wed, 19 Mar 2008 15:53:03 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Bash scripting : The importance of a sanity check</title>
		<description>
echo "Execute $somecode ?"
read bogusvar
$somecode
-----
The above might be the most important part of any bash script.  It does two things :

1. Shows you the actual command being executed
 2.  Gives you the chance to cancel the program

I recently learned the importance of this when "rm -rf $variable" became ...</description>
		<link>http://linux.blowshard.net/2008/03/19/bash-scripting-the-importance-of-a-sanity-check/</link>
			</item>
	<item>
		<title>Bash Script : Batch convert mp3</title>
		<description>So today I needed a bash script that will use lame to batch covert mp3 files to a lower bitrate so I can squeeze more onto my mp3 player.

After looking around on the net and taking bits of other peoples code (thanks NoStop and keefaz) I came up with this ...</description>
		<link>http://linux.blowshard.net/2007/03/10/bash-script-batch-convert-mp3/</link>
			</item>
	<item>
		<title>Bash Script : GNOME vs KDE</title>
		<description>Answer the age old question.
Download script here.

#!/bin/sh
# Which is better, GNOME or KDE ?
#
# Version : .014 beta
# Last changes : 3/7/2007
# http://linux.blowshard.net
#
# Not for use in a production environment

ver=".013 beta"
wmCheck="GNOME"    #GNOME goes firstâ€¦
echo
echo "KDE vs GNOME $ver"
echo
while [ "$solved" != "2" ]; do

	if [ "$wmCheck" = ...</description>
		<link>http://linux.blowshard.net/2007/03/05/bash-script-gnome-vs-kde/</link>
			</item>
	<item>
		<title>Bash Scripting : sha1sum</title>
		<description> When using echo to send text to sha1sum make sure you do it like this :

echo -n "abc123" &#124; sha1sum

and not

echo "abc123" &#124; sha1sum

Without the -n echo adds a new line to the text.  Like if you were to type abc123 then hit enter.

 Notice :

echo "abc123" &#124; ...</description>
		<link>http://linux.blowshard.net/2007/03/05/bash-scripting-sha1sum/</link>
			</item>
</channel>
</rss>
