annotate bin/grwp @ 12263:7829671dc5b3 draft

<b_jonas> addwhatis randquote(1hackeso) - print a random quote matching a regular expression
author HackEso <hackeso@esolangs.org>
date Sun, 08 Dec 2019 00:31:29 +0000
parents f96f98ed1ae1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9662
07673a5a3a32 <oerjan> sled bin/grwp//1s/sh/bash/;2ccd wisdom; setopt -s dotglob; grep -R "$@" -- *
HackBot
parents: 9661
diff changeset
1 #! /bin/bash
12065
f96f98ed1ae1 <fizzie> sled /hackenv/bin/grwp//s|cd wisdom|cd $HACKENV/wisdom|
HackEso <hackeso@esolangs.org>
parents: 9663
diff changeset
2 cd $HACKENV/wisdom; shopt -s dotglob; grep -R "$@" -- *