From 5cf34717161bd866a634d8a9ad209afb4004857b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 18 Apr 2019 20:27:35 +0530 Subject: Plugins! --- plugins/hexview | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 plugins/hexview (limited to 'plugins/hexview') diff --git a/plugins/hexview b/plugins/hexview new file mode 100755 index 0000000..5125fa3 --- /dev/null +++ b/plugins/hexview @@ -0,0 +1,11 @@ +#!/usr/bin/env sh + +# Description: View a file in hex +# Requires: xxd and $PAGER +# +# Shell: POSIX compliant +# Author: Arun Prakash Jana + +if ! [ -z "$1" ]; then + xxd "$1" | "$PAGER" +fi -- cgit v1.2.3-70-g09d2