]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/patches/mingw-utils3.patch
Reworked the MinGW32 build-dependencies script, it has been renamed to build-depkgs...
[bacula/bacula] / bacula / src / win32 / patches / mingw-utils3.patch
1 Index: unix2dos.1
2 ===================================================================
3 --- /dev/null   2006-05-26 19:54:25.455722750 -0700
4 +++ ./unix2dos.1        2002-04-10 06:39:07.000000000 -0700
5 @@ -0,0 +1,135 @@
6 +.\" $$Id$$
7 +.TH unix2dos 1 "unix2dos v2.2" "1995.03.31"
8 +
9 +.SH NAME
10 +
11 +unix2dos \- UNIX to DOS text file format converter
12 +
13 +.SH SYNOPSYS
14 +
15 +unix2dos [options] [-c convmode] [-o file ...] [-n infile outfile ...]
16 +.PP
17 +Options:
18 +.PP
19 +[-hkqV] [--help] [--keepdate] [--quiet] [--version]
20 +
21 +.SH DESCRIPTION
22 +
23 +.PP
24 +This manual page documents dos2unix, the program that converts text 
25 +files in UNIX format to DOS format.
26 +
27 +.SH OPTIONS
28 +
29 +The following options are available:
30 +.TP
31 +.B \-h --help
32 +Print online help.
33 +
34 +.TP
35 +.B \-k --keepdate
36 +Keep the date stamp of output file same as input file.
37 +
38 +.TP
39 +.B \-q --quiet
40 +Quiet mode. Suppress all warning and messages.
41 +
42 +.TP
43 +.B \-V --version
44 +Prints version information.
45 +
46 +.TP
47 +.B \-c --convmode convmode
48 +Sets conversion mode. Simulates dos2unix under SunOS.
49 +
50 +.TP
51 +.B \-o --oldfile file ...
52 +Old file mode. Convert the file and write output to it. The program 
53 +default to run in this mode. Wildcard names may be used.
54 +
55 +.TP 
56 +.B \-n --newfile infile outfile ...
57 +New file mode. Convert the infile and write output to outfile. File names
58 +must be given in pairs and wildcard names should NOT be used or you WILL 
59 +lost your files. 
60 +
61 +.SH EXAMPLES
62 +
63 +.LP
64 +Get input from stdin and write output to stdout.
65 +.IP
66 +.B unix2dos
67 +
68 +.LP
69 +Convert and replace a.txt. Convert and replace b.txt.
70 +.IP
71 +.B unix2dos a.txt b.txt
72 +.IP
73 +.B unix2dos -o a.txt b.txt
74 +
75 +.LP
76 +Convert and replace a.txt in ASCII conversion mode.
77 +Convert and replace b.txt in ISO conversion mode.
78 +.IP
79 +.B dos2unix a.txt -c iso b.txt
80 +.IP
81 +.B dos2unix -c ascii a.txt -c iso b.txt
82 +
83 +.LP
84 +Convert and replace a.txt while keeping original date stamp.
85 +.IP
86 +.B unix2dos -k a.txt
87 +.IP
88 +.B unix2dos -k -o a.txt
89 +
90 +.LP
91 +Convert a.txt and write to e.txt.
92 +.IP
93 +.B unix2dos -n a.txt e.txt
94 +
95 +.LP
96 +Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt.
97 +.IP
98 +.B unix2dos -k -n a.txt e.txt 
99 +
100 +.LP
101 +Convert and replace a.txt. Convert b.txt and write to e.txt.
102 +.IP
103 +.B unix2dos a.txt -n b.txt e.txt
104 +.IP
105 +.B unix2dos -o a.txt -n b.txt e.txt
106 +
107 +.LP
108 +Convert c.txt and write to e.txt. Convert and replace a.txt.
109 +Convert and replace b.txt. Convert d.txt and write to f.txt.
110 +.IP
111 +.B unix2dos -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt
112 +
113 +.SH DIAGNOSTICS
114 +
115 +.SH BUGS
116 +
117 +The program does not work properly under MSDOS in stdio processing mode. 
118 +If you know why is that so, please tell me.
119 +
120 +.SH AUTHOR
121 +
122 +Benjamin Lin - (
123 +.B blin@socs.uts.edu.au
124 +)
125 +
126 +.SH MISCELLANY
127 +
128 +Tested environment:
129 +.IP
130 +Linux 1.2.0 with GNU C 2.5.8
131 +.IP
132 +SunOS 4.1.3 with GNU C 2.6.3
133 +.IP
134 +MS-DOS 6.20 with Borland C++ 4.02
135 +.PP
136 +Suggestions and bug reports are welcome.
137 +
138 +.SH SEE ALSO
139 +dos2unix(1)
140 +