File: gen_php3_functions

package info (click to toggle)
bluefish 0.7-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,984 kB
  • ctags: 2,208
  • sloc: ansic: 25,688; sh: 2,531; makefile: 382; sed: 93
file content (9 lines) | stat: -rwxr-xr-x 285 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#run this in the PHP_source_dir/functions/

cat /dev/null > $HOME/.bluefish/php3_functions
for FILE in `ls *.c | cut -f 1 -d .` ; do
   grep proto $FILE.c | grep -v */ | cut -c14- | while read LINE ; do
      echo "$FILE:$LINE" >> $HOME/.bluefish/php3_functions
   done
done