head	1.1;
access;
symbols
	RELENG_8_4:1.1.0.18
	RELENG_9_1_0_RELEASE:1.1
	RELENG_9_1:1.1.0.16
	RELENG_9_1_BP:1.1
	RELENG_8_3_0_RELEASE:1.1
	RELENG_8_3:1.1.0.14
	RELENG_8_3_BP:1.1
	RELENG_9_0_0_RELEASE:1.1
	RELENG_9_0:1.1.0.12
	RELENG_9_0_BP:1.1
	RELENG_9:1.1.0.10
	RELENG_9_BP:1.1
	RELENG_8_2_0_RELEASE:1.1
	RELENG_8_2:1.1.0.8
	RELENG_8_2_BP:1.1
	RELENG_8_1_0_RELEASE:1.1
	RELENG_8_1:1.1.0.6
	RELENG_8_1_BP:1.1
	RELENG_8_0_0_RELEASE:1.1
	RELENG_8_0:1.1.0.4
	RELENG_8_0_BP:1.1
	RELENG_8:1.1.0.2
	RELENG_8_BP:1.1;
locks; strict;
comment	@# @;


1.1
date	2009.05.26.20.13.17;	author ed;	state Exp;
branches
	1.1.18.1;
next	;

1.1.18.1
date	2009.05.26.20.13.17;	author svnexp;	state dead;
branches;
next	1.1.18.2;

1.1.18.2
date	2013.03.28.13.00.43;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@SVN rev 192850 on 2009-05-26 20:13:17Z by ed

Copy ee 1.4.2 into the contrib directory.

This allows me to merge our custom changes to ee(1) back on top of
original sources, with correct mergeinfo.
@
text
@#!/bin/sh

set -x

if [ $# -lt 2 ]
then
	echo usage $0 source_file dest_file 
	exit 1
fi

trap 'rm -f /tmp/$$.out; exit 0' 0           # set up traps to clean up
trap 'rm -f /tmp/$$.out; exit 1' 1 2 3 15    # on errors AND normal exit

if [ -f $2 ]
then
	rm $2
fi

cat $1 | grep 'catgetlocal.*\"*\"' | 
	sed -e 's/^.*catgetlocal(//' | 
	sed -e 's/^[ 	]*//'	|
	sed -e 's/, \"/ \"/'	|
	sed -e 's/);//' > /tmp/$$.out

cat > $2 <<EOF
\$ 
\$ 
\$set 1
\$quote "
EOF

sort -n < /tmp/$$.out >> $2
@


1.1.18.1
log
@file genstr was added on branch RELENG_8_4 on 2013-03-28 13:00:43 +0000
@
text
@d1 32
@


1.1.18.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 32
#!/bin/sh

set -x

if [ $# -lt 2 ]
then
	echo usage $0 source_file dest_file 
	exit 1
fi

trap 'rm -f /tmp/$$.out; exit 0' 0           # set up traps to clean up
trap 'rm -f /tmp/$$.out; exit 1' 1 2 3 15    # on errors AND normal exit

if [ -f $2 ]
then
	rm $2
fi

cat $1 | grep 'catgetlocal.*\"*\"' | 
	sed -e 's/^.*catgetlocal(//' | 
	sed -e 's/^[ 	]*//'	|
	sed -e 's/, \"/ \"/'	|
	sed -e 's/);//' > /tmp/$$.out

cat > $2 <<EOF
\$ 
\$ 
\$set 1
\$quote "
EOF

sort -n < /tmp/$$.out >> $2
@


