From 6faa400a39174ce64b5e0ed0507e652969ae968a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 24 Jan 2007 09:54:04 +0000 Subject: [PATCH] Fixed bug #831: New yaz-client command: 'source'. --- client/client.c | 3 ++- doc/yaz-client-commands.xml | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/client/client.c b/client/client.c index d7a1bcc..39c1078 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: client.c,v 1.323 2007-01-16 14:12:37 adam Exp $ + * $Id: client.c,v 1.324 2007-01-24 09:54:04 adam Exp $ */ /** \file client.c * \brief yaz-client program @@ -4398,6 +4398,7 @@ static struct { {"displaycharset", cmd_displaycharset, "",NULL,0,NULL}, {"marccharset", cmd_marccharset, "",NULL,0,NULL}, {"lang", cmd_lang, "",NULL,0,NULL}, + {"source", cmd_source_echo, "",NULL,1,NULL}, {".", cmd_source_echo, "",NULL,1,NULL}, {"!", cmd_subshell, "Subshell command",NULL,1,NULL}, {"set_apdufile", cmd_set_apdufile, "",NULL,1,NULL}, diff --git a/doc/yaz-client-commands.xml b/doc/yaz-client-commands.xml index 0d08739..6aabc7f 100644 --- a/doc/yaz-client-commands.xml +++ b/doc/yaz-client-commands.xml @@ -1,5 +1,5 @@ @@ -369,13 +369,14 @@ - . + source filename Executes list of commands from file filename, just like source on - most UNIX shells. + most UNIX shells. A single dot (.) can be used + as an alternative. -- 1.7.10.4