Form.udconv revision 7c478bd95313f5f23a4c958a745db2134aa03244
#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
`set -l OLDVMSYS="$VMSYS" -l VMSYS="/usr/vmsys"`
form="`readfile $VMSYS/admin/dos/$ARG1`"
lifetime=longterm
done=`$VMSYS/admin/dos/udconv "$F1" "$F2" $ARG1 $VPID | regex -e
0 'OPEN TEXT $VMSYS/OBJECTS/dos/Text.udgood'
1 'OPEN TEXT $VMSYS/OBJECTS/dos/Text.udbad'`
close=`set -l VMSYS="$OLDVMSYS"`
help=OPEN TEXT $OLDVMSYS/OBJECTS/Text.h "Conversion" "$LININFO"
name=Name of source file:
nrow=1
ncol=2
rows=1
columns=35
frow=1
fcol=23
valid=`[ -f $F1 ]`
invalidmsg="You did not type a valid source file"
lininfo="dos/T.hudconv1"
fieldmsg=Type the full path of the source file.
name=Name of target file:
nrow=3
ncol=2
rows=1
columns=35
frow=3
fcol=23
valid=`[ "$F2" != "$F1" -a "$F2" ]`
invalidmsg="You did not type a valid target file"
lininfo="dos/T.hudconv2"
fieldmsg=Type the full path of the target file.