diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-11 17:55:27 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-11 17:55:27 +0100 |
commit | 12fe6680be056fca142a42a1c21d73da432c7bb6 (patch) | |
tree | 0e343cda81feb05800683118b4b6132651004ca5 /xetcchanges | |
parent | bef15594968f4899db673a73e89f29b5f3482714 (diff) | |
download | xtools-12fe6680be056fca142a42a1c21d73da432c7bb6.tar.gz xtools-12fe6680be056fca142a42a1c21d73da432c7bb6.tar.xz xtools-12fe6680be056fca142a42a1c21d73da432c7bb6.zip |
xetcchanges: take parameter
Diffstat (limited to 'xetcchanges')
-rwxr-xr-x | xetcchanges | 2 |
1 files changed, 1 insertions, 1 deletions
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(" \\([^)]*\\)$", "") |