Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

echotest.sh File Reference


Detailed Description

Generic replacement for echo -n.

This script include file contains the keyboard support needed to derive proper functionality of shell command echo -n for systems that do not have it. This is useful in shell scripts when requesting user input by way of a read varname command. It should work on any flavor of BASH, Korn, and Bourne shells. A stand-alone invocation does nothing, but is benign.

Loaded where needed as: . ./echotest.sh

Invoke as: $echon "Print a line without a final newline$echoc"

Control

$URL: https://svn.apache.org/path/name/echotest.sh $ $Id: echotest.sh 0 09/28/2005 dlydick $

Copyright 2005 The Apache Software Foundation or its licensors, as applicable.

Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Version:
$LastChangedRevision: 0 $
Date:
$LastChangedDate: 09/28/2005 $
Author:
$LastChangedBy: dlydick $ Original code contributed by Daniel Lydick on 09/28/2005.

Reference

Definition in file echotest.sh.

Go to the source code of this file.


Generated on Fri Sep 30 18:49:13 2005 by  doxygen 1.4.4