changeset 67:ecdbaa11b88e

misc
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 24 Apr 2020 20:03:29 +0100
parents a8bb3b4c208f
children d5f59c1fdc10
files .hgignore bin/ff
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Fri Apr 24 20:01:35 2020 +0100
+++ b/.hgignore	Fri Apr 24 20:03:29 2020 +0100
@@ -48,3 +48,6 @@
 bin/transpose
 bin/ts
 bin/validata
+viminfo
+foo
+openjdk-8u252-b09
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/ff	Fri Apr 24 20:03:29 2020 +0100
@@ -0,0 +1,12 @@
+#!/bin/sh
+# find any match from here
+if [ "$1" = "-y" ]
+then
+ shift
+ yy=
+else
+ yy="-not ( -path ./Yesterday -prune )"
+fi
+ff=$1
+shift
+find . $yy \( \( -iname \*$ff\* \) -o \( -iname .\*$ff\* \) \) "$@" -print