X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcsvtosrw.tcl;h=699eea66270cbad5c914a3d67b6161f2bd445498;hp=157e231deed48a51adda1ccefb2b1ab1d40f8169;hb=c1f23597ea64485e2362d658f3653211202cc6a8;hpb=84d7b06c13daa609e93f353e655c4b02f936d65c diff --git a/src/csvtosrw.tcl b/src/csvtosrw.tcl old mode 100755 new mode 100644 index 157e231..699eea6 --- a/src/csvtosrw.tcl +++ b/src/csvtosrw.tcl @@ -1,18 +1,14 @@ -#!/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 # See the file LICENSE for details. # -# $Id: csvtosrw.tcl,v 1.1 2005-04-22 08:27:58 adam Exp $ # # Converts a CSV file with SRW diagnostics to C+H file for easy # maintenance # -# $Id: csvtosrw.tcl,v 1.1 2005-04-22 08:27:58 adam Exp $ -source csvtodiag.tcl +source [lindex $argv 0]/csvtodiag.tcl -csvtodiag {srw.csv diagsrw.c ../include/yaz/diagsrw.h} srw {} \ No newline at end of file +csvtodiag [list [lindex $argv 0]/srw.csv diagsrw.c [lindex $argv 0]/../include/yaz/diagsrw.h] srw {}