<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<div class="moz-cite-prefix">On 1/8/20 6:26 PM, Ken D'Ambrosio
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:67847bf59b1a5c2b9aebb0723ff3e128@jots.org">
<pre class="moz-quote-pre" wrap="">On 2020-01-08 17:58, Joshua Judson Rosen wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Nutshell: clearly, it's time for
a self-written inotify daemon and call it a day.
Because it's stupid easy to prepend a line with my domain name every
time the file changes,
whereas I'm gettin' old trying to figure this out through a more
elegant mechanism.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Ha! An inotify monitor actually seems like a pretty elegant solution to
me!
(though maybe I should point out that I got some of my aesthetic sense
from growing up watching The Red Green Show...).
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
I done did it. (Yeah, I use Ruby for my CLI stuffs; it's pretty much
replaced Perl as my go-to for any systemy stuff. But this time, I
decided not to make it a Ruby script and just threw in a -pie one-liner
like the olden Perl days. It's not particularly pretty, but hey...)
</pre>
</blockquote>
<p>There are some things in Linux that I absolutely gush over
because of how handy they are, inotify is just such a creature. I
use it in some of the most unlikely places to solve some of my
most baffling problems.</p>
<p><br>
</p>
<p>Ed<br>
</p>
</body>
</html>