Links for 2010-07-07

4 Comments »

  1. Pádraig Brady said,

    July 8, 2010 @ 12:59 am

    sponge is quite handy, and is equivalent to method 6 here: http://www.pixelbeat.org/docs/unix_file_replacement.html

    I use xargs -P instead of parallel, iconv -futf8 -tutf8 instead of isutf8, join/uniq instead of combine

  2. David Malone said,

    July 8, 2010 @ 8:36 pm

    FreeBSD has lockf as a command line utility (since 1997), though I sometimes wish cron had a builtin locking feature to prevent multiple instances running at the same time. I’ve seen a few things like ts before, but it should be a standard.

  3. Pádraig Brady said,

    July 8, 2010 @ 10:47 pm

    Oh http://www.freebsd.org/cgi/man.cgi?query=lockf is cool. I’ve needed that functionality in the past and had used a less robust script: http://www.pixelbeat.org/scripts/sematree

  4. Justin said,

    July 9, 2010 @ 10:58 am

    and needless to say I had my own mutex locking script, too ;)

RSS feed for comments on this post

Leave a Comment

Comment text formatting: Markdown Extra syntax is supported, as is plain old HTML. (Quick reference for Markdown basics)

View blog reactions using Technorati