From de21325de3c510d62e454b6ffe2620dfa52faa1f Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 17 Dec 2015 16:55:53 +0100 Subject: add xilog --- README | 1 + xilog | 4 ++++ 2 files changed, 5 insertions(+) create mode 100755 xilog diff --git a/README b/README index ba67bdc..e0bdfe3 100644 --- a/README +++ b/README @@ -16,6 +16,7 @@ https://github.com/voidlinux/xbps xgrep PATTERN PKGS... - search files limited to XBPS package contents xhog - list installed XBPS packages ordered by size xi PKGS... - like xbps-install -S, but take cwd repo and sudo/su into account + xilog [PATTERN] - list installed packages by install-date xlg PKG - open short commit log for XBPS template xlint TEMPLATE - scan XBPS template for common mistakes xlocate [-u | PATTERN] - locate files in all XBPS packages diff --git a/xilog b/xilog new file mode 100755 index 0000000..586f173 --- /dev/null +++ b/xilog @@ -0,0 +1,4 @@ +#!/bin/sh +# xilog [PATTERN] - list installed packages by install-date +xbps-query -p install-date -s '' | + sort -t: -k2 |column -t -s: -o: |grep -e "${1:-.}" -- cgit 1.4.1