X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcsvtobib1.tcl;h=2ed437b606c8702a1cb39e56f808fe767228e445;hb=45754b01d18ddee3e71b79d6be871cc75c2c7c86;hp=04a1b2b8e4c93bf72820ff8a345289a6d8e28154;hpb=84d7b06c13daa609e93f353e655c4b02f936d65c;p=yaz-moved-to-github.git diff --git a/src/csvtobib1.tcl b/src/csvtobib1.tcl index 04a1b2b..2ed437b 100755 --- a/src/csvtobib1.tcl +++ b/src/csvtobib1.tcl @@ -1,18 +1,16 @@ -#!/bin/sh -# the next line restats using tclsh \ -exec tclsh "$0" "$@" +#!/usr/bin/tclsh # # This file is part of the YAZ toolkit -# Copyright (c) Index Data 1996-2005 +# Copyright (c) Index Data 1996-2007 # See the file LICENSE for details. # -# $Id: csvtobib1.tcl,v 1.1 2005-04-22 08:27:58 adam Exp $ +# $Id: csvtobib1.tcl,v 1.5 2008-01-06 13:02:48 adam Exp $ # # Converts a CSV file with Bib-1 diagnostics to C+H file for easy # maintenance # -# $Id: csvtobib1.tcl,v 1.1 2005-04-22 08:27:58 adam Exp $ +# $Id: csvtobib1.tcl,v 1.5 2008-01-06 13:02:48 adam Exp $ -source csvtodiag.tcl +source [lindex $argv 0]/csvtodiag.tcl -csvtodiag {bib1.csv diagbib1.c ../include/yaz/diagbib1.h} bib1 diagbib1_str \ No newline at end of file +csvtodiag [list [lindex $argv 0]/bib1.csv diagbib1.c [lindex $argv 0]/../include/yaz/diagbib1.h] bib1 diagbib1_str