octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{Function File} -> {Built-in Function}


From: David Bateman
Subject: {Function File} -> {Built-in Function}
Date: Thu, 31 May 2007 21:11:23 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

In the name of documentation fixes, you might want the run the attached
bash script in src/

D.
#! /bin/sh -f

ext="tmp"
files=`ls -1 | grep .cc`

for _file  in $files; do
    sed -e "s/{Function File}/{Built-in Function}/g" $_file >> $_file.$ext
    if ! diff -q $_file $_file.$ext >& /dev/null; then
        echo "Modified $_file"
        #mv $_file.$ext $_file
        rm $_file.$ext
    else
        echo "Not modifying $_file"
        rm $_file.$ext
    fi
done

cd DLD-FUNCTIONS
files=`ls -1 | grep .cc`

for _file  in $files; do
    sed -e "s/{Function File}/{Loadable Function}/g" $_file >> $_file.$ext
    if ! diff -q $_file $_file.$ext >& /dev/null; then
        echo "Modified $_file"
        #mv $_file.$ext $_file
        rm $_file.$ext
    else
        echo "Not modifying $_file"
        rm $_file.$ext
    fi
done

reply via email to

[Prev in Thread] Current Thread [Next in Thread]