"jr" <cre### [at] gmailcom> wrote:
> ...
> (fingers crossed wrt typos):
>
> function fnsvd () {
> if [ 1 -ne $# ]; then
> echo usage: $FUNCNAME matrix_data
> else
> grep -v -e ^# | tr -s ' ' '\n' < $1 | grep -v -e ^$ | /path/to/svd/a.out
> fi
> }
</sigh> blindly copying + pasting does that. :-( corrected:
grep -v -e ^# $1 | tr -s ' ' '\n' | grep -v -e ^$ | /path/to/svd/a.out
regards, jr.
Post a reply to this message
|