From 12fe6680be056fca142a42a1c21d73da432c7bb6 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 11 Feb 2016 17:55:27 +0100 Subject: xetcchanges: take parameter --- xetcchanges | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xetcchanges') diff --git a/xetcchanges b/xetcchanges index f3e4935..070f8d9 100755 --- a/xetcchanges +++ b/xetcchanges @@ -1,7 +1,7 @@ #!/bin/sh # xetcchanges - show diff of /etc against binary packages -xbps-query -o '/etc/*' | +xbps-query -o ${1:-/etc/*} | awk 'function q(a) { gsub("\\47", "\47\\\47\47", a); return "\47"a"\47" } { sub(" \\([^)]*\\)$", "") -- cgit 1.4.1