]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/patches/mingw-utils2.patch
Reworked the MinGW32 build-dependencies script, it has been renamed to build-depkgs...
[bacula/bacula] / bacula / src / win32 / patches / mingw-utils2.patch
1 Index: dos2unix.1
2 ===================================================================
3 --- /dev/null   2006-05-26 19:54:25.455722750 -0700
4 +++ ./dos2unix.1        2002-04-10 06:39:04.000000000 -0700
5 @@ -0,0 +1,142 @@
6 +.\" $$Id$$
7 +.TH dos2unix 1 "dos2unix v3.0" "1995.03.31"
8 +
9 +.SH NAME
10 +
11 +dos2unix \- DOS/MAC to UNIX text file format converter
12 +
13 +.SH SYNOPSYS
14 +
15 +dos2unix [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 plain text
25 +files in DOS/MAC format to UNIX 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 dos2unix
67 +
68 +.LP
69 +Convert and replace a.txt. Convert and replace b.txt.
70 +.IP
71 +.B dos2unix a.txt b.txt
72 +.IP
73 +.B dos2unix -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 +Convert c.txt from Mac to Unix ascii format.
79 +.IP
80 +.B dos2unix a.txt -c iso b.txt
81 +.IP
82 +.B dos2unix -c ascii a.txt -c iso b.txt
83 +.IP
84 +.B dos2unix -c mac a.txt  b.txt
85 +
86 +.LP
87 +Convert and replace a.txt while keeping original date stamp.
88 +.IP
89 +.B dos2unix -k a.txt
90 +.IP
91 +.B dos2unix -k -o a.txt
92 +
93 +.LP
94 +Convert a.txt and write to e.txt.
95 +.IP
96 +.B dos2unix -n a.txt e.txt
97 +
98 +.LP
99 +Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt.
100 +.IP
101 +.B dos2unix -k -n a.txt e.txt 
102 +
103 +.LP
104 +Convert and replace a.txt. Convert b.txt and write to e.txt.
105 +.IP
106 +.B dos2unix a.txt -n b.txt e.txt
107 +.IP
108 +.B dos2unix -o a.txt -n b.txt e.txt
109 +
110 +.LP
111 +Convert c.txt and write to e.txt. Convert and replace a.txt.
112 +Convert and replace b.txt. Convert d.txt and write to f.txt.
113 +.IP
114 +.B dos2unix -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt
115 +
116 +.SH DIAGNOSTICS
117 +
118 +.SH BUGS
119 +
120 +The program does not work properly under MSDOS in stdio processing mode. 
121 +If you know why is that so, please tell me.
122 +
123 +.SH AUTHORS
124 +
125 +Benjamin Lin -
126 +.B <blin@socs.uts.edu.au>
127 +
128 +
129 +Bernd Johannes Wuebben (mac2unix mode) 
130 +.B <wuebben@kde.org>
131 +
132 +
133 +.SH MISCELLANY
134 +
135 +Tested environment:
136 +.IP
137 +Linux 1.2.0 with GNU C 2.5.8
138 +.IP
139 +SunOS 4.1.3 with GNU C 2.6.3
140 +.IP
141 +MS-DOS 6.20 with Borland C++ 4.02
142 +.PP
143 +Suggestions and bug reports are welcome.
144 +
145 +.SH SEE ALSO
146 +unix2dos(1) mac2unix(1)
147 +