2fb2516b42a4

Merge
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 09 May 2022 22:53:44 -0400
parents 9a2323655a9b (diff) 65443a23702e (current diff)
children b5c968f8eaa2
branches/tags (none)
files

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/isbinary	Mon May 09 22:53:44 2022 -0400
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+grep -om1 '' "$1" | grep '^Binary' >/dev/null