[project @ 2002-12-18 03:26:47 by jwe]
author |
jwe |
date |
Wed, 18 Dec 2002 03:26:57 +0000 |
parents |
fa4dfbc33ce5 |
children |
399793c2c95a |
files |
scripts/mkpkgadd scripts/plot/close.m |
diffstat |
2 files changed, 17 insertions(+), 1 deletions(-)
[+]
|
line diff
new file mode 100755
--- /dev/null
+++ b/scripts/mkpkgadd
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+if [ $# -eq 1 ]; then
+ dir="$1"
+else
+ echo "usage: mkpkgadd directory" 1>&2
+ exit 1
+fi
+
+cd $dir
+
+files=`ls *.m`
+
+if [ -n "$files" ]; then
+ sed -n 's/^[#%][#%]* *PKG_ADD: *//p' $files
+fi
--- a/scripts/plot/close.m
+++ b/scripts/plot/close.m
@@ -25,7 +25,7 @@
## Author: jwe
-## mark_as_command: close
+## PKG_ADD: mark_as_command close
function retval = close (arg1, arg2)