Files
cdesktop/cde/doc/C/guides/man/man1_dt/convertv.sgm

55 lines
2.3 KiB
Plaintext

<!-- $XConsortium: convertv.sgm /main/5 1996/09/08 19:51:15 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->
<RefEntry Id="CDEMX.MAN8.rsml.1">
<RefMeta>
<RefEntryTitle>dtconvertvf</RefEntryTitle>
<ManVolNum>special file</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Filename>dtconvertvf</Filename></RefName>
<RefPurpose>convert VUE 3.0 action/filetype files to DT syntax
</RefPurpose>
</RefNameDiv>
<!-- CDE Common Source Format, Version 1.0.0-->
<!-- *************************************************************************-->
<!-- ** (c) Copyright 1993, 1994 Hewlett-Packard Company-->
<!-- ** (c) Copyright 1993, 1994 International Business Machines Corp.-->
<!-- ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.-->
<!-- ** (c) Copyright 1993, 1994 Novell, Inc.-->
<!-- *************************************************************************-->
<RefSynopsisDiv>
<Synopsis>dtconvertvf
</Synopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The
<Literal>dtconvertvf</Literal> utility is a filter script for converting VUE 3.0 action and filetype
databases to the new CDE 1.0 datatypes syntax.
If the input is a VUE 3.0
filetype file (*.vf) then its output will be converted to a CDE 1.0 datatypes
file.
It is up to the user to name the output file accordingly.
To be
recognized by CDE 1.0 it must have the <Filename>.dt</Filename> suffix.
</Para>
</RefSect1>
<RefSect1>
<Title>EXAMPLE</Title>
<Para>To convert a single action/filetype file to CDE 1.0 syntax:
sp 1
<Literal>dtconvertvf</Literal> <Literal>&lt;</Literal> <Literal>file.vf</Literal> <Literal>></Literal> <Literal>file.dt</Literal> To convert all action/filetype files in current directory to CDE 1.0 syntax:
for vffile in *.vf; do
<Literal>dtfile=${vffile%.vf}.dt</Literal> <Literal>dtconvertvf</Literal> <Literal>&lt;</Literal> <Literal>$vffile</Literal> <Literal>></Literal> <Literal>$dtfile</Literal> done
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 01:31:55-->