<?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>Free Like GNU</title>
	<atom:link href="http://www.freelikegnu.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.freelikegnu.org</link>
	<description>It&#039;s GNU for you!</description>
	<lastBuildDate>Thu, 05 Aug 2010 01:17:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-beta1</generator>
		<item>
		<title>Sanyo Incognito from Boost Mobile &#8211; n800 replacement?</title>
		<link>http://www.freelikegnu.org/?p=91</link>
		<comments>http://www.freelikegnu.org/?p=91#comments</comments>
		<pubDate>Wed, 04 Aug 2010 04:46:36 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=91</guid>
		<description><![CDATA[First of all the Incognito is a US$130 no-contract mobile phone that runs java apps rather than a rather expensive, full GNU/Linux, Debian based handheld, can it really replace an n800 (untethered)? What it has going for it built in, besides unlimited voice, text etc: CDMA Data ( mobile internets that are not too slow [...]]]></description>
			<content:encoded><![CDATA[<p>First of all the Incognito is a US$130 no-contract mobile phone that runs java apps rather than a rather expensive, full GNU/Linux, Debian based handheld, can it really replace an n800 (untethered)?</p>
<p>What it has going for it built in, besides unlimited voice, text etc:</p>
<p>CDMA Data ( mobile internets that are not too slow )</p>
<p>Multi-server email client (pop/imap)</p>
<p>2MP Camera</p>
<p>60MB builtin storage for apps and stuff, Micro SDHC Card Slot</p>
<p>Where this device really shines is in the generous 60MB storage for apps if you use an SDHC card for music, pix, and whatever.  Considering that most java apps are about 250KB you can have LOTS of software installed. There are a few caveats&#8230;</p>
<p><strong>MY FIRST QUEST</strong></p>
<p>The built in MP3 player is basic at best.  You can point it to a folder of songs and it will play them in order of filename or tag.  **No shuffle**  There is a nice EQ and it supports a bluetooth stereo headset quite nicely with AVCRP controls like volume and track navigation.   I had to replace this because having a shuffling mode makes a large collection of MP3s is more enjoyable for me. This is where my troubles began&#8230;</p>
<p><strong>THE JAR AND THE JAD</strong></p>
<p>I searched google for &#8220;j2me mp3&#8243; and many results came up, and I was really excited because I thought I could load all of these programs on my phone and find something suitable.  Some download links pointed to a &#8220;.jar&#8221; file.  the Incognito will not install these and you will have to find a &#8220;.jad&#8221; type file download link. &#8220;.jad&#8221; is really just a description of the &#8220;.jar&#8221; file and is just a plain-text file that you can look through.  The &#8220;.jad&#8221; has some important information that can keep you from installing a new program or cause a headache.  The only player I found to work well on the Incognito was <a href="http://www.easter-eggs.by.ru/KDPlayer">KDPlayer by Knyzhov Dmitry</a> version 0.5.6. The problem was that the links on the website contain no &#8220;.jad&#8221;  and I really did not know how to generate one.   With a little more searching I found another site that had the file with an accompanying &#8220;.jad&#8221; but there was another problem I receive an error message about an &#8220;Invalid Descriptor&#8221;.  I downloaded the .jad and .jar files and opened the .jad in a text editor.   There was a bad url in the .jad  file.  The &#8220;MIDlet-Jar-URL:&#8221; line should point to the file without any http://website.com/address/ stuff.  I made the line read</p>
<p><strong>MIDlet-Jar-URL: KDPlayer.jar</strong></p>
<p>and put the  KDPlayer.jar and KDPlayer.jad files in my own little webserver and pointed my phones browser to the .jad and got the app installed. When you first run it, it should ask for permissions to access Multimedia.</p>
<p>KDPlayer is an ok shuffle player but getting it to shuffle requires a Fn-U key-combo to make the number &#8220;7&#8243;.  Also don&#8217;t bother making a playlist of over 100 files or the program will take a long time to load it when you start.  Instead go into the &#8220;Settings&#8221;, turn off  &#8220;read tags&#8221; (optionally turn on autostart) and Save those settings.  Select &#8220;Folders for Scanning&#8221; and use the menu button to &#8220;Add&#8221; a folder. Accessing the SDHC card is tricky as you  may only see the internal storage folders listed.  Hit the Menu button and select &#8220;Back&#8221; until you get to the root of the device where you will finally see the &#8220;MemoryCard&#8221; and select the folder you have your music in. Playing mp3&#8217;s with a bluetooth stereo headset on a modern phone is a  snap and I dont have the frequent skipping or crash issues I had on my n800.</p>
<p>Unfortunately the version of KDPlayer I ran will not let me advance songs with my bluetooth headset, perhaps a more recent version will have this feature?  Otherwise it has become my main squeezebox.  The other players I tried were LyricShow, but that player quits when I close the clamshell, but it could be fun for impromptu karaoke duets,  and Evan MP3 player crashes on this phone.</p>
<p><strong>SNAPPY MAPPING APP</strong></p>
<p>Mobile GMaps works great on this phone. Use the &#8220;unsigned .jad&#8221; link on <a href="http://wap.mgmaps.com/">http://wap.mgmaps.com/</a> from your browser.  The signed jad files will often give you a 909 error with something to do with a licence to access certain features of the phone.  With the unsigned jad you can allow access to most of the phones features once you run the program.  The text in the maps is very easy to read and exploring a map is very smooth.  You can use the great open street maps or yahoo maps.  Somet things that I learned about Open Street Maps project are that the maps are continuously edited by a very dedicated community of contributors.  They can update the maps very quickly and were able to respond during the Hurricane Katrina disaster by describing blocked routes quickly to aid relief workers.  Another important point is that commercial maps often contain errors on purpose as a primitive and annoying means of proving copyright.  Open Street Maps seeks rather to provide the most useful and accurate maps without such nonsense!  Check out their <a href="http://wiki.openstreetmap.org/wiki/Main_Page">wiki</a>.</p>
<p>The built-in web browser is a bit lacking and only displays mobile formatted pages.  I found OperaMini to be much more like browsing on a computer.  OperMini cheats in a way by sending web page requests to a server that does the actual request and reformats the page to render on the phone through OperaMini. There is no flash support for web applications but youtube videos run well as OperaMini utilizes the phone&#8217;s media player to render video.</p>
<p><strong>Free-to-move around, free as in beer but not really freedom.</strong></p>
<p>The biggest problem with many of the applications for a phone like this are that it is mostly proprietary software that may be free-as-in-free-beer, but the code is not accessible to the community.  Many of them are infrequently maintained or abandoned by their developers.  On the Nokia 800, it was great to have great Debian-style repositories filled with lots of useful little free apps, but mobile devices such as the n800, n900, and (even jailbroken) iPhone have very locked-down hardware which means that even GPL licensed software binary gets put in a &#8220;Debian-style&#8221; repository but without access to the source that can be compiled to actually work on that device!  Cydia on the jailbroken iPhone is an example where apps like MAME somehow become Adware!  Look and see if you can find a link to the developer who ported the software to the device and try to access the modified source!</p>
<p><strong>But there is hope! May the source be with you, always! </strong></p>
<p>That said, I have to mention some really great, truly Free Software does exist for our phones.  <a href="http://jmirc.sourceforge.net/">jmIrc</a> is a well written app that lets you chat on iRC.  Setup was easy and it runs fine in the background.  If you use Bitlbee you can pipe all of your chat networks (aim, msn, gtalk, jabber, .mac) into an iRC session too! If you just want a dedicated ICQ client, give <a href="http://www.jimm.org/index.php?lang=en&amp;page=index">Jimm</a> a try.  Want to access a remote computer via SSH or telnet shell?! <a href="http://www.xk72.com/midpssh/index.php">midpSSH</a> does a great job and there is something quite empowering about a remote shell to ones favourite server from a $50 no-contract phone!  A nice car-racing game was recently made free by GPLv3 license called <a href="http://code.google.com/p/oppositelock/">Opposite Lock</a>! The &#8220;Nokia 6630, Sony Ericsson K750&#8243; version works fine on the Sanyo Incognito too.  It features 8 player bluetooth mode, but I have not had a chance to try that yet.  There are lots of Free Software projects being developed for our little phones.  Search the web for &#8220;GPL j2me&#8221; and let me know what useful apps you find!</p>
<p><strong>A 909 state and unsigning an application.<br />
</strong></p>
<p>If you run into an app that you really want to try and you get a &#8220;909 Authentication&#8221; error you can still install the app if you can get both the .jar and .jad files.  Simply remove the sections of the .jad that contain the key information:</p>
<p><code>MIDlet-Jar-RSA-SHA1: &lt;lots of scrambled text&gt;<br />
MIDlet-Certificate-1-1: &lt;lots of scrambled text&gt;<br />
MIDlet-Certificate-1-2: &lt;lots of scrambled text&gt;</code></p>
<p>put the .jar and the modified .jad in a web-accessible server and point your phones web-browser to it!</p>
<p>See <a href="http://developer.sprint.com/site/global/develop/device_activation/deviceactivation.jsp">this page</a> for more info about all this ruckus.<strong><br />
</strong></p>
<p><strong>CONCLUSIONS</strong></p>
<p>with a no-contract little phone with a qwerty keyboard, I can now do a lot on the run.  I had no (cheap) way to access the internet on my n800 when not near wifi, but now I have the interwebs all the time and music too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=91</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Projector Personalities</title>
		<link>http://www.freelikegnu.org/?p=90</link>
		<comments>http://www.freelikegnu.org/?p=90#comments</comments>
		<pubDate>Wed, 02 Jun 2010 13:18:03 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=90</guid>
		<description><![CDATA[For reasons know only to the maker, some projectors are made with male serial ports and some are made with female serial ports. The most important points on which they must agree with other equipment are 2,3, and 5 (defining the ground) no matter the topic of communication. Some projectors are quite talkative (with their [...]]]></description>
			<content:encoded><![CDATA[<p>For reasons know only to the maker, some projectors are made with male serial ports and some are made with female serial ports.  The most important points on which they must agree with other equipment are 2,3, and 5 (defining the ground) no matter the topic of communication.  Some projectors are quite talkative (with their temperatures, fan speeds and current input resolutions) and some are more reserved providing only simple acknowledgement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=90</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freelikegnu.org back online</title>
		<link>http://www.freelikegnu.org/?p=89</link>
		<comments>http://www.freelikegnu.org/?p=89#comments</comments>
		<pubDate>Sun, 11 Apr 2010 18:37:03 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=89</guid>
		<description><![CDATA[Finally got around to restoring the backup image following the exploited server re-imaging.]]></description>
			<content:encoded><![CDATA[<p>Finally got around to restoring the backup image following the exploited server re-imaging.   </p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=89</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The budget geek in search of a cheap fix</title>
		<link>http://www.freelikegnu.org/?p=87</link>
		<comments>http://www.freelikegnu.org/?p=87#comments</comments>
		<pubDate>Wed, 18 Nov 2009 03:54:12 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gnu-fu]]></category>
		<category><![CDATA[Alix]]></category>
		<category><![CDATA[FOSS]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=87</guid>
		<description><![CDATA[Some folks can plop down many hundreds of dollars on iPhones, the latest console game machines (and their pricey games) and Uber desktops. Once in a great while I get to spend a little money to geek out on some kind of technology too, though I have to be a bit more frugal. Usually it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Some folks can plop down many hundreds of dollars on iPhones, the latest console game machines (and their pricey games) and Uber desktops. Once in a great while I get to spend a little money to geek out on some kind of technology too, though I have to be a bit more frugal.  Usually it&#8217;s something old that is cheap on eBay.  I&#8217;ll look for something that will run Linux and has some novel quirk.  One of these was an old Itronix 250 military laptop.  The device was waterproof, drop-onto-concrete-proof and weighed more that my 2 other laptop machines combined. I upgraded the processor, hacked in a wifi card and antenna, installed a few various versions of Ubuntu and tried with success to get all the features like touchscreen and graphics drivers working nice.  Even though it wasn&#8217;t the latest gadget, it was cheap for thrills and exercising the Linux skills.  When I sold it (for a bit less than all the time and money I put in) I felt I&#8217;d had a good deal of fun with it, like working on an old VW bug.   One thing I wish I had tried on it was <a title="TinyCore Linux" href="http://tinycorelinux.com/screenshots.html">TinyCore Linux</a> founded by one of the lead developers of the famous DSL project, Robert Shingledecker.  TinyCore takes the idea of a compact yet extensible graphical Linux desktop to the extreme at 10MB!  I think it would also work on an <a title="Alix" href="http://www.pcengines.ch/alix3d3.htm">Alix3d3</a> machine I&#8217;m experimenting with.  Currently <a title="Voyage Linux" href="http://linux.voyage.hk/">Voyage</a> is running on the  Alix and humming along quite nicely as a &#8220;bulletproof&#8221; looping video display device running mplayer with a DVD iso file.  The Alix now looks a bit dated in the graphics compared to the new Ion based tiny PCs out there, but it is still more flexible in some ways and durable.  These little machines are cheap and fun to hack not unlike various wireless routers such as the venerable Linksys wrt54g of old (2.2 and earlier) and the Asus wl500w.  The latter I bought because it had a minipci slot instead of the radio being part of the main board and its usb ports to support the TB drive shared on my little network.  It was a great candidate for the <a title="OpenWRT" href="http://openwrt.org/">OpenWRT</a> firmware and I found others who had <a title="OpenWRT on the wl500w" href="http://nuwiki.openwrt.org/oldwiki/OpenWrtDocs/Hardware/Asus/WL500W">made it work well</a>.  All these things are cheap and distracting, some have proven quite useful.  One thing that really makes it fun is the community.  Because others have written blogs, posted in forums, mailing lists or chatted in IRC, I never feel alone in the dark.   I think this is where the real entertainment value is, especially when we contribute to these conversations with our own experiences, questions, reviews, how-to&#8217;s etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=87</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Epic Fail</title>
		<link>http://www.freelikegnu.org/?p=84</link>
		<comments>http://www.freelikegnu.org/?p=84#comments</comments>
		<pubDate>Wed, 15 Apr 2009 00:36:06 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=84</guid>
		<description><![CDATA[When one of the oldest and largest telco providers in the world cannot figure out how to run a pair of copper wires to an apartment in Chicago.  When it places a long-time customer on hold for most of the duration of a call to check on the status of his order only to transfer [...]]]></description>
			<content:encoded><![CDATA[<p>When one of the oldest and largest telco providers in the world cannot figure out how to run a pair of copper wires to an apartment in Chicago.  When it places a long-time customer on hold for most of the duration of a call to check on the status of his order only to transfer to someone who can only tell him to check back later.  When this company never calls or emails with a reason the customers order for service being delayed.  When the online status check tool tells him the account number sent to him is invalid.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2.6.28.8 Kernel for Alix 3d3  with joystick module</title>
		<link>http://www.freelikegnu.org/?p=81</link>
		<comments>http://www.freelikegnu.org/?p=81#comments</comments>
		<pubDate>Wed, 18 Mar 2009 21:48:47 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gnu-fu]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[Alix]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Voyage]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=81</guid>
		<description><![CDATA[I wanted to add a kernel module for my Alix 3d3 but I figured I would just build a more current kernel for the Voyage Linux 6 installation instead.  Because I am a total weenie, I got excited about a cool program called KernelCheck.  It&#8217;s basically a GUI for building configuring and packaging (yes Debian [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to add a kernel module for my <a href="http://www.pcengines.ch/alix3d3.htm">Alix 3d3</a> but I figured I would just build a more current kernel for the <a href="http://linux.voyage.hk/">Voyage Linux 6</a> installation instead.  Because I am a total weenie, I got excited about a cool program called <a href="http://kcheck.sourceforge.net/">KernelCheck</a>.  It&#8217;s basically a GUI for building configuring and packaging (yes Debian packaging!) the latest greatest kernel from <a href="http://kernel.org/">kernel.org</a>.  I built the kernel from my Ubuntu machine using the <a href="http://www.voyage.hk/download/kernel_config/">latest config</a> file from the Voyage kernel, enabled the joystick module and installed the resultant .deb in Voyage.  w00t!<br />
<a href="http://www.freelikegnu.org/wp-content/uploads/2009/03/linux-image-26288-ultimate_26288-ultimate-1000custom_i386.deb" title="linux-image-2.6.28.8-ultimate_2.6.28.8-ultimate-10.00.Custom_i386.deb">linux-image-2.6.28.8-ultimate_2.6.28.8-ultimate-10.00.Custom_i386.deb</a></p>
<p>headers if you need &#8216;em :</p>
<p><a href="http://www.freelikegnu.org/wp-content/uploads/2009/03/linux-headers-26288-ultimate_26288-ultimate-1000custom_i386.deb" title="linux-headers-2.6.28.8-ultimate_2.6.28.8-ultimate-10.00.Custom_i386.deb">linux-headers-2.6.28.8-ultimate_2.6.28.8-ultimate-10.00.Custom_i386.deb</a></p>
<p>enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=81</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More one-liners!</title>
		<link>http://www.freelikegnu.org/?p=80</link>
		<comments>http://www.freelikegnu.org/?p=80#comments</comments>
		<pubDate>Sun, 15 Feb 2009 05:37:58 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[gnu-fu]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=80</guid>
		<description><![CDATA[I just noticed this one tonight, check out Command-line Fu for lots of great shell-j00ky! Thanks again to NixCraft for the link!]]></description>
			<content:encoded><![CDATA[<p>I just noticed this one tonight, check out <a href="http://www.commandlinefu.com/commands/browse/sort-by-votes/25">Command-line Fu</a> for lots of great shell-j00ky!<br />
Thanks again to <a href="http://www.cyberciti.biz/tips/news-round-up-feb-07-2009.html">NixCraft for the link</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=80</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I love AWK, let me delimit the ways&#8230;</title>
		<link>http://www.freelikegnu.org/?p=79</link>
		<comments>http://www.freelikegnu.org/?p=79#comments</comments>
		<pubDate>Sun, 15 Feb 2009 04:42:53 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[gnu-fu]]></category>
		<category><![CDATA[bash AWK GNU xargs par2repair otaku one-liner]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=79</guid>
		<description><![CDATA[tonight I came up with a super handy one-liner to handle a massive number of split files that were in groups: ls -1 -Q *.001 &#124; awk -F'.' '{print $1"."$2"\"""\ "$1"."$2".\?\?\?\""}' &#124; xargs -l1 par2repair see, I had a folder whose contents look like this: file1 space [123456a].ogg.001 file1 space [123456a].ogg.002 file1 space [123456a].ogg.003 file1 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>tonight I came up with a super handy one-liner to handle a massive number of split files that were in groups:</strong></p>
<p><code>ls -1 -Q *.001 | awk -F'.' '{print $1"."$2"\"""\ "$1"."$2".\?\?\?\""}' | xargs -l1 par2repair</code></p>
<p><strong>see, I had a folder whose contents look like this:</strong></p>
<p><code>file1 space [123456a].ogg.001<br />
file1 space [123456a].ogg.002<br />
file1 space [123456a].ogg.003<br />
file1 space [123456a].ogg.004<br />
file1 space [123456a].ogg.005<br />
...<br />
file1 space [123456a].ogg.par2<br />
file1 space [5321fff].ogg.vol00+01.PAR2<br />
file1 space [5321fff].ogg.vol00+02.PAR2<br />
...<br />
file2 space [5321fff].ogg.001<br />
file2 space [5321fff].ogg.002<br />
file2 space [5321fff].ogg.003<br />
file2 space [5321fff].ogg.004<br />
file2 space [5321fff].ogg.005<br />
file2 space [5321fff].ogg.006<br />
....<br />
file2 space [5321fff].ogg.par2<br />
file2 space [5321fffa].ogg.vol00+01.PAR2<br />
file2 space [5321fff].ogg.vol00+02.PAR2...<br />
file3...<br />
and so on...</code></p>
<p><strong>WHAT A MESS! If it looks familiar, you must be some kind of otaku!</strong></p>
<p><strong>At first I would manually join all the files in one group that end with a period and three numbers with a cat command</strong></p>
<p><code>cat file1\ space\  [123456a].ogg.??? &gt; file1\ space\ [123456a].ogg</code></p>
<p><strong>but even with tab completion, it was tedious, and I would still have to check them with par2repair (usually with the help of pypar2) to make sure they were in good shape!</strong></p>
<p><strong>THERE HAS TO BE A BETTER WAY!!!</strong></p>
<p><strong>after some searching for scripts to join files and coming up with nothing that could handle multiple GROUPS of files, I noticed a blog post that mentioned par2repairs ability to join the split files into the missing file and verify in one step!  Just give it a list of files to search from for pieces:</strong></p>
<p><code>par2repair  file1\ space\ [123456a].ogg  file1\ space\ [123456a].ogg.???</code></p>
<p><strong>that simplified the process enough for my feeble mind to formulate a line, but first I needed to rip the extensions off the filenames.  Some folks seem to like the &#8220;basename&#8221; command, but I could not wrap my head around it.  AWK could do it if I could use a period as the delimiter. Of course it can!</strong></p>
<p><strong>First lets list the first file of each group, wrap it in (-Q)uotes, and make sure there is one name per line: </strong><br />
<code>ls -Q -1 *.001</code><br />
<strong>which gave me:</strong><br />
<code>"file1 space [123456a].ogg.001"<br />
"file2 space [5321fff].ogg.001"<br />
"file3 space [af23498].ogg.001"<br />
...</code></p>
<p><strong>now I want to pass that on to AWK, delimit vars by &#8220;.&#8221; and spit out just the first two vars(with the period added back in between!):</strong><br />
<code>ls -1 -Q *.001 | awk -F'.' '{print $1"."$2}'</code><br />
<strong>but it also truncated the end quote, DOH!</strong><br />
<code>"file1 space [123456a].ogg<br />
"file2 space [5321fff].ogg<br />
"file3 space [af23498].ogg</code></p>
<p><strong>Thats OK, I can have AWK add the quotes (spaces, wildcards, etc. all escaped) back in as well as the rest of the arguments I want to pass on to par2repair!</strong><br />
<code>ls -1 -Q *.001 | awk -F'.' '{print $1"."$2"\"""\ "$1"."$2".\?\?\?\""}'</code></p>
<p><strong>that looks like a mess but it&#8217;s just because of the escape sequences:<br />
&#8220;/ &#8221; is an escaped space character (like the %20 you might see in a URL)<br />
&#8220;/?&#8221; is an escaped question mark (the wild card for a single character)<br />
&#8220;/&#8221;"  is an escaped double quote</strong></p>
<p><strong>so the above command gives an output of:</strong><br />
<code>"file1 space [123456a].ogg" "file1 space [123456a].ogg.???"<br />
"file2 space [5321fff].ogg" "file2 space [5321fff].ogg.???"<br />
"file3 space [af23498].ogg" "file3 space [af23498].ogg.???"</code></p>
<p><strong>which is perfectly formatted so that I can pipe each line of that (with the help of xargs -l1) to a separate par2repair command!<br />
BAM!</strong><br />
<code>ls -1 -Q *.001 | awk -F'.' '{print $1"."$2"\"""\ "$1"."$2".\?\?\?\""}' | xargs -l1 par2repair</code></p>
<p><strong>now if you want to add a bit to delete the processed files, you are on your own!</strong></p>
<p><strong>Credits:<br />
I got help for the AWK delimiting on <a href="http://www.cyberciti.biz/">NixCraft</a>:<br />
<a href="http://www.cyberciti.biz/tips/processing-the-delimited-files-using-cut-and-awk.html">http://www.cyberciti.biz/tips/processing-the-delimited-files-using-cut-and-awk.html</a><br />
A post on the Ubuntu forum that inspired me to come up with a better way..<br />
<a href="http://ubuntuforums.org/showthread.php?t=321142">http://ubuntuforums.org/showthread.php?t=321142</a><br />
I&#8217;ll post the one-liner there now&#8230; <img src='http://www.freelikegnu.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=79</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shell Shout-Outs: iftop</title>
		<link>http://www.freelikegnu.org/?p=77</link>
		<comments>http://www.freelikegnu.org/?p=77#comments</comments>
		<pubDate>Fri, 28 Nov 2008 18:28:41 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[gnu-fu]]></category>
		<category><![CDATA[iftop]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=77</guid>
		<description><![CDATA[Folks may shun the shell when using their computers but honestly, there are some great treasures to be found.  Today I&#8217;ll highlight a great little network bandwidth and connection monitor called iftop. This handy terminal tool shows a near real-time display of connections to or from your computer through a network device. It will give [...]]]></description>
			<content:encoded><![CDATA[<p align="left">Folks may shun the shell when using their computers but honestly, there are some great treasures to be found.  Today I&#8217;ll highlight a great little network bandwidth and connection monitor called <a href="http://ex-parrot.com/~pdw/iftop/">iftop</a>.<br />
This handy terminal tool shows a near real-time display of connections to or from your computer through a network device.  It will give you a nice little bar-graph representation as well!</p>
<p align="center"><a href="http://www.freelikegnu.org/wp-content/uploads/2008/11/iftop_normal.png" title="iftop screenshot" class="thickbox"></a></p>
<p style="text-align: center"><a href="http://www.freelikegnu.org/wp-content/uploads/2008/11/iftop_normal.png" title="iftop screenshot" class="thickbox"><img src="http://www.freelikegnu.org/wp-content/uploads/2008/11/iftop_normal.thumbnail.png" alt="iftop screenshot" /></a></p>
<p align="left">You can install it in Ubuntu or Debian with a quick:</p>
<p> <code>$ sudo apt-get install iftop</code></p>
<p align="left"> Then try this to see whats happening on your wireless card:</p>
<p> <code>$ sudo iftop -i wlan0 -P</code></p>
<p align="left"> the &#8220;-i <device>&#8221; specifies your network device that you can find with:</device><br />
<device></device></p>
<p><device> <code>$ ifconfig</code></device></p>
<p align="left">enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=77</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Home for the Blue Line Riders</title>
		<link>http://www.freelikegnu.org/?p=74</link>
		<comments>http://www.freelikegnu.org/?p=74#comments</comments>
		<pubDate>Sun, 23 Nov 2008 06:44:58 +0000</pubDate>
		<dc:creator>francisco athens</dc:creator>
				<category><![CDATA[gnu-fu]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[visual culture]]></category>
		<category><![CDATA[Blue Line Riders]]></category>

		<guid isPermaLink="false">http://www.freelikegnu.org/?p=74</guid>
		<description><![CDATA[ There are blue line riders and then there are The Blue Line Riders. Having been the former since moving to the Second City and now enjoying the latter while traveling to and from work as the former is only natural and so typically Chicago. If that were not enough, I&#8217;ve now been charged with building [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.freelikegnu.org/wp-content/uploads/2008/11/blr-txb.png" alt="The Blue Line Riders logo" width="400" /><br />
</p>
<p> There are blue line riders and then there are <strong>The Blue Line Riders</strong>. Having been the former since moving to the Second City and now enjoying the latter while traveling to and from work as the former is only natural and so typically Chicago.    If that were not enough, I&#8217;ve now been charged with building a <a href="http://bluelineriders.com/">new website</a> for the most excellent Blue Line Riders!  In case you&#8217;ve not had the pleasure of their sweet sounds upon your ears, you owe it to yourself to give a listen to the streaming mp3&#8217;s at <a href="http://bluelineriders.com/">bluelineriders.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freelikegnu.org/?feed=rss2&amp;p=74</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
