Mercurial > octave-nkf
view build-aux/find-files-with-tests.sh @ 20527:635c93bba6b6 stable
doc: Make excplicit that asctime and ctime values end in a newline (bug #45976)
* asctime.m, ctime.m: Update docstrings to show trailing newline in the returned
string. Add %!tests.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Sun, 20 Sep 2015 11:27:36 +0200 |
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