summaryrefslogtreecommitdiff
path: root/lib/ref-add.sin
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-04 12:50:44 +0000
committerJim Meyering <jim@meyering.net>2000-04-04 12:50:44 +0000
commit6dd89368683ea137205bbeb87fc3496626edd7cb (patch)
treefb67c17fdd7c1a731a405f1f30549085f1aca9c2 /lib/ref-add.sin
parent32ff553652c8a630aa357c3391bb21c1810d1d18 (diff)
downloadcoreutils-6dd89368683ea137205bbeb87fc3496626edd7cb.tar.xz
renamed from ref-add.sed.in
Diffstat (limited to 'lib/ref-add.sin')
-rw-r--r--lib/ref-add.sin31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/ref-add.sin b/lib/ref-add.sin
new file mode 100644
index 000000000..167374e3c
--- /dev/null
+++ b/lib/ref-add.sin
@@ -0,0 +1,31 @@
+# Add this package to a list of references stored in a text file.
+#
+# Copyright (C) 2000 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Library General Public License as published
+# by the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Library General Public License for more details.
+#
+# You should have received a copy of the GNU Library General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+# USA.
+#
+# Written by Bruno Haible <haible@clisp.cons.org>.
+#
+/^# Packages using this file: / {
+ s/# Packages using this file://
+ ta
+ :a
+ s/ @PACKAGE@ / @PACKAGE@ /
+ tb
+ s/ $/ @PACKAGE@ /
+ :b
+ s/^/# Packages using this file:/
+}