Skip to content

Instantly share code, notes, and snippets.

@mbland
mbland / count-matching-lines-driver.sh
Last active Aug 20, 2016
Proof-of-concept bash-only implementation of 'grep -o $exp | sort | uniq -c'
View count-matching-lines-driver.sh
#! /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 Oct 1, 2012 — forked from JanDupal/README.md
Quick'n'dirty Jekyll plugin for sorted cycle
View README.md

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