Skip to content

Instantly share code, notes, and snippets.

@mbland
mbland / count-matching-lines-driver.sh
Last active August 20, 2016 20:54
Proof-of-concept bash-only implementation of 'grep -o $exp | sort | uniq -c'
#! /bin/bash
#
# Driver for the count-matching-lines script
#
# Author: Mike Bland <mbland@acm.org>
# https://mike-bland.com/, https://github.com/mbland/
# Date: 2016-08-19
usage() {
local message
@mbland
mbland / README.md
Created October 1, 2012 14:51 — forked from JanDupal/README.md
Quick'n'dirty Jekyll plugin for sorted cycle

Jekyll sorted_for plugin

Quick'n'dirty Jekyll plugin for sorted cycle.

Install

Copy sorted_for.rb to _plugins/ directory of your Jekyll site.

Usage