diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-04-27 23:41:57 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-04-27 23:41:57 -0400 |
| commit | 88ce44d52cb2d9f11f621434709583ff0fec1cec (patch) | |
| tree | fa1cf0122e5f2648c025eb20ba33a12b03f2628c /has.sh | |
| parent | 5c9e7124f968cc381843dba285d4081231a9325d (diff) | |
| download | gurglesolver-88ce44d52cb2d9f11f621434709583ff0fec1cec.tar.gz | |
has.sh: Shorthand
Diffstat (limited to 'has.sh')
| -rwxr-xr-x | has.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/has.sh b/has.sh new file mode 100755 index 0000000..1a19a5f --- /dev/null +++ b/has.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Has "$1", not in the "$2"th position +cat - | grep "$1" | grep -v "$(echo "12345" | tr "$2" "$1" | tr [:digit:] .)" |
