view bin/mk @ 5838:600e1ac6d932

<b_jonas> ` o=bin/culprits-c && echo $\'#!/bin/sh\\n\'\'culprits "$@" | tr \\ \\\\n | sort | uniq -c | sort -rn | tr -s \\\\n\\ \\ \' > "$o" && chmod a+x "$o"
author HackBot
date Sun, 12 Jul 2015 12:44:14 +0000
parents 56dcce63901b
children b8326f7b870f
line wrap: on
line source

[[ "$1" == *//* ]] || exit 1; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$key" && echo "$key"