nedit tips for SKILL

F

fogh

Guest
Hi All,

I tested the following script on mandrake 10.0 linux (GNU sed version
4.0.9), It generates a calltips file called SKILL.tips for nedit >5.4
from the cadence finder data.

#!/bin/bash
#
#generate a "tips" file for the nirvana editor
#from the cadence documentation "finder" files
#

orgwd=$(pwd)
outfile=$orgwd/SKILL.tips
icroot=/cds/ic51
cd $icroot/doc/finder

finderfiles=$(find . -name *.fnd)
for f in $finderfiles ;do
cat $f |\
sed 's,^;\(.*\)$,*comment*\n\1\n,'|\
sed -r 's,^\("([a-zA-Z0-9_]+)",\n\1,'|\
sed '/^"/s///'|\
sed '/"$/s///'|\
sed '/")$/s///'
done \
>$outfile
 

Welcome to EDABoard.com

Sponsor

Back
Top