• Strange bracketing behavior in grep and sed

    I finally figured out this thorny issue I have been dealing with for the last hour. In perl, if I can create a character class like “[\[\]a-f]” which matches any characters a-f, [, and ]. This does not work in grep or sed though. I finally discovered that the right bracket “]” should not be…


  • Collapsing categories update

    I have just a pretty major revision to collapsing categories, version 0.6. It includes the following changes: Can have multiple instances of widgets, each with separate options No longer works as non-widget All options are stored in one database row Added more sorting options Added option to include or exclude certain categories Added option to…


  • Collapsing monopoly

    I am happy to announce the release of my fourth collapsing X plugin for WordPress. This one is Collapsing Links, which was requested by several users of my other plugins. With the development of this plugin, I finally added the ability to have multiple instances of the widget. This took some careful study of some…


  • Bash one-liners to the rescue

    I recently find myself using handy bash one-liners more all the time. I think that this is where unix/linux can really start to shine. There are so many little programs that just do one thing, and one thing well. But the ability to combine these together through pipes means you have extremely flexible and powerful…


  • sort using TAB as field separator in bash

    I have run into this problem several times recently, and decided to finally write down the solution for myself rather than keep searching the internet for it. This is the problem: if you want to sort a file that is tab-delimited (and some of the filelds contain spaces), then you must explicitly tell sort to…


Join 164 other subscribers

Archives

  • 2024 (5)
  • 2023 (8)
  • 2022 (15)
  • 2021 (19)
  • 2020 (1)
  • 2019 (1)
  • 2018 (2)
  • 2017 (1)
  • 2016 (2)
  • 2015 (5)
  • 2014 (5)
  • 2013 (2)
  • 2011 (7)
  • 2010 (10)
  • 2009 (50)
  • 2008 (28)
  • 2007 (31)
  • 2006 (8)

Category