Mercurial > hg > octave-lyh
view build-aux/find-files-with-tests.sh @ 17495:995decfed6cc
guidata.m: Overhaul function to use modern Octave conventions.
* scripts/plot/guidata.m: Match variable names in function header to
documentation. Place input validation first. Add %!error input
validation blocks.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 25 Sep 2013 10:23:30 -0700 |
parents | 43e6415393ff |
children |
line wrap: on
line source
#! /bin/sh set -e GREP=${GREP:-grep} SED=${SED:-sed} srcdir="$1" shift for arg do if [ -f "$arg" ]; then file="$arg" else file="$srcdir/$arg" fi if [ "`$GREP -l '^%!' $file`" ]; then echo "$file" | $SED "s,\\$srcdir/,,"; fi done