Artifact e7c52bd3fa3808688eb2ffab09d8a46255ebca82669750b767437ce4c247cd93:
- Executable file mtt/lib/xfig/Basic/MAKE_COMPONENT — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 416) [annotate] [blame] [check-ins using] [more...]
- Executable file mttroot/mtt/lib/xfig/Basic/MAKE_COMPONENT — part of check-in [ad9b7e569f] at 2000-12-28 10:11:20 on branch origin/master — put under RCS (user: gawthrop@users.sourceforge.net, size: 416) [annotate] [blame] [check-ins using]
#!/bin/sh
## Makes a new component
if [ -z "$2" ]; then
label=$1
else
label=$2
fi
case $1 in
0)
echo Making new component $1 with no label
sed "s/TEXT/$1/" <template.txt >$1.fig
;;
1)
echo Making new component $1 with no label
sed "s/TEXT/$1/" <template.txt >$1.fig
;;
*)
echo Making new component $1 with label $label
sed "s/TEXT/$1:$label/" <template.txt >$1.fig
esac