From: Michael D. Lowis Date: Wed, 1 Feb 2017 15:45:21 +0000 (-0500) Subject: Added hex editing routines and a shebang to clearly mark the file as a bash script... X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=69f981a239cecdd7d0756a31f8a323bebb9f7398;p=projs%2Ftide.git Added hex editing routines and a shebang to clearly mark the file as a bash script. This is mostly for documentation purposes --- diff --git a/editrc b/editrc index 69d2ded..b99d680 100644 --- a/editrc +++ b/editrc @@ -1,3 +1,5 @@ +#!/bin/bash + # Tag Lines #------------------------------------------------------------------------------ @@ -32,3 +34,7 @@ lnnum(){ nl -nln -ba; } # Trim trailing whitspace trim(){ sed -e 's/[\t ]\+$//'; } + +# Hex editing functions +hex(){ xxd; } +nohex(){ xxd -r; }