Initial revision

This commit is contained in:
Lutz Kettner 1997-04-25 00:05:22 +00:00
parent efab92cfe6
commit 4420645cd9
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/bin/csh -f
# **************************************************************************
#
# cc_extract_include
# ===================
# A script to extract \ccInclude statements from a spec file.
#
# Author : (c) 1997 Lutz Kettner kettner@acm.org
# Revision : $Revision$
# Date : $Date$
#
# **************************************************************************
grep '\\ccInclude' $argv[1-] | sed 's/^.*[{]\([^}]*\)[}].*$/#include <\1>/'