<?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>Sam Pierson&#039;s Blog &#187; MacOS</title>
	<atom:link href="http://sampierson.com/blog/tag/macos/feed/" rel="self" type="application/rss+xml" />
	<link>http://sampierson.com/blog</link>
	<description>Augmentation of an Imperfect Memory.</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:41:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MacOS Leopard bash echo not interpreting escape sequences</title>
		<link>http://sampierson.com/blog/system-administration/macos-leopard-bash-echo-not-interpreting-escape-sequences/</link>
		<comments>http://sampierson.com/blog/system-administration/macos-leopard-bash-echo-not-interpreting-escape-sequences/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 22:58:56 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=527</guid>
		<description><![CDATA[I just hit this incredibly retarded irritating gotcha in Mac OS Leopard.  Luckily, unlike this poor bastard, it only cost me an hour.
Bash echo is supposed to interpret \ escape sequences (e.g. \n) if you supply it a -e flag.  This works from the command line.  It works in shell scripts.  [...]]]></description>
			<content:encoded><![CDATA[<p>I just hit this incredibly retarded irritating gotcha in Mac OS Leopard.  Luckily, unlike <a href="http://interrupt-driven.com/archives/2007/12/leopard_gotcha_command_modeleg.html">this poor bastard</a>, it only cost me an hour.</p>
<p>Bash echo is supposed to interpret \ escape sequences (e.g. \n) if you supply it a -e flag.  This works from the command line.  It works in shell scripts.  It works in &#8217;system&#8217; commands inside rake scripts.  <strong>Unless of course you ssh into the very same system and run the same rake script</strong>; then it stops working.</p>
<p>I tracked this down to the <em>COMMAND_MODE=legacy</em> environment variable, which if missing (and it is missing if I ssh in) makes Leopard do all sorts of stupid <a href="http://developer.apple.com/releasenotes/Darwin/RN-Unix03Conformance/">Single UNIX Specification Version 3 (SUSv3) compatibility crap</a>.  As Stephen points out, this even breaks GNU autoconf scripts!  Way to go, Apple &#8211;  talk about missing the point completely.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/macos-leopard-bash-echo-not-interpreting-escape-sequences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache server redirects using MacOS Server Admin</title>
		<link>http://sampierson.com/blog/system-administration/apache-server-redirects-using-macos-server-admin/</link>
		<comments>http://sampierson.com/blog/system-administration/apache-server-redirects-using-macos-server-admin/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 20:16:09 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[MacOS]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=347</guid>
		<description><![CDATA[Note to self before I delete this entry.
This will redirect an entire site:
Server Admin -&#62; Your server -&#62; Web -&#62; Your site -&#62; Aliases -&#62; Url Aliases and Redirects
Type = RedirectMatch
Pattern = .*
Path = http://example.com
]]></description>
			<content:encoded><![CDATA[<p>Note to self before I delete this entry.<br />
This will redirect an entire site:</p>
<p>Server Admin -&gt; <em>Your server</em> -&gt; Web -&gt; <em>Your site</em> -&gt; Aliases -&gt; Url Aliases and Redirects</p>
<p>Type = RedirectMatch<br />
Pattern = .*<br />
Path = http://example.com</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/apache-server-redirects-using-macos-server-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
