Skip to content

Commit ff72637

Browse files
committed
Dos2Unix updated to 7.5.1.
1 parent 4e7b01c commit ff72637

File tree

126 files changed

+38454
-9357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+38454
-9357
lines changed

dos2unix/BUGS.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ KNOWN BUGS
99
REPORTING BUGS
1010

1111
Report bugs at the dos2unix SourceForge page
12-
http://sourceforge.net/projects/dos2unix/
12+
https://sourceforge.net/projects/dos2unix/
1313

14-
Bugs tracker: http://sourceforge.net/p/dos2unix/bugs/
14+
Bugs tracker: https://sourceforge.net/p/dos2unix/bugs/
1515

1616
Also patches and feature requests can be entered under the
1717
"Tickets" tab.

dos2unix/COPYING.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
The dos2unix package is distributed under FreeBSD style license.
2-
See also http://www.freebsd.org/copyright/freebsd-license.html
2+
See also https://www.freebsd.org/copyright/freebsd-license.html
33
--------
44

5-
Copyright (C) 2009-2020 Erwin Waterlander
5+
Copyright (C) 2009-2023 Erwin Waterlander
66
Copyright (C) 1998 Christian Wurll
77
Copyright (C) 1998 Bernd Johannes Wuebben
88
Copyright (C) 1994-1995 Benjamin Lin.

dos2unix/ChangeLog.txt

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,65 @@
1+
2023-08-29 Erwin Waterlander <waterlan@xs4all.nl>
2+
* Version 7.5.1
3+
4+
2023-06-01 Erwin Waterlander <waterlan@xs4all.nl>
5+
* Fixed problem of converting a symbolic link target that
6+
is on another file system. Thanks to report of fdamien12.
7+
8+
2023-05-17 Erwin Waterlander <waterlan@xs4all.nl>
9+
* Version 7.5.0
10+
11+
2023-04-16 Erwin Waterlander <waterlan@xs4all.nl>
12+
* New option -O, --to-stdout to write to standard output.
13+
Thanks to Victor.
14+
15+
2023-04-06 Erwin Waterlander <waterlan@xs4all.nl>
16+
* New option -e, --add-eol to add a line break to the last
17+
line if there isn't one. Option --no-add-eol disables the
18+
feature. Thanks to Anonymous.
19+
See https://sourceforge.net/p/dos2unix/feature-requests/6/
20+
21+
2023-02-11 Erwin Waterlander <waterlan@xs4all.nl>
22+
* Version 7.4.4
23+
24+
2023-01-16 Temuri Doghonadze <temuri.doghonadze@gmail.com>
25+
* New Georgian translations of UI messages.
26+
27+
2022-12-20 Erwin Waterlander <waterlan@xs4all.nl>
28+
* Updated manual translations.
29+
30+
2022-12-12 Seong-ho Cho <darkcircle.0426@gmail.com>
31+
* New Korean translation of the manual.
32+
33+
2022-10-12 Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>
34+
* New Romanian translations of UI messages and manual.
35+
36+
2022-09-08 Seong-ho Cho <darkcircle.0426@gmail.com>
37+
* New Korean translation of the UI messages.
38+
39+
2022-08-13 Erwin Waterlander <waterlan@xs4all.nl>
40+
* common.c, README.txt: Added link to homepage at sourceforge.
41+
* Updated various web addresses.
42+
43+
2022-08-13 Jordi Mas i Hernàndez <jmas@softcatala.org>
44+
* New Catalan translation of the UI messages.
45+
46+
2022-06-05 Erwin Waterlander <waterlan@xs4all.nl>
47+
* Version 7.4.3
48+
49+
2022-06-05 Erwin Waterlander <waterlan@xs4all.nl>
50+
* test/Makefile: Disabled GB18030 tests for Darwin.
51+
GB18030 is not properly supported on Darwin.
52+
53+
2021-03-17 Felipe Castro <fefcas@gmail.com>
54+
* Updated Esperanto translation of messages.
55+
56+
2020-12-29 Philipp Klaus Krause <spth@users.sourceforge.net>
57+
* common.c: Assign strerror return value to const char.
58+
See https://sourceforge.net/p/dos2unix/patches/10/
59+
60+
2020-11-09 Мирослав Николић <miroslavnikolic@rocketmail.com>
61+
* New Serbian translation of the manual.
62+
163
2020-10-12 Erwin Waterlander <waterlan@xs4all.nl>
264
* Version 7.4.2
365

@@ -1112,7 +1174,7 @@
11121174
chowning *to* the group is not - and this will make unix2dos fail when it
11131175
tries to restore the permissions.
11141176
Thanks to Wolf Geldmacher.
1115-
See bug report 3444337, https://sourceforge.net/tracker/?func=detail&atid=1234808&aid=3444337&group_id=292083
1177+
See bug report 3444337, https://sourceforge.net/p/dos2unix/bugs/8/
11161178

11171179
2011-11-16 Erwin Waterlander <waterlan@xs4all.nl>
11181180
* README.txt, man/man1/dos2unix.pod: Freshmeat changed name to Freecode.
@@ -1143,7 +1205,7 @@
11431205
on the input file, dos2unix changes owner, group and umask in old
11441206
file mode to the other user's owner, group and umask who runs
11451207
dos2unix. Fixed only for Unix. Thanks to Christopher Williams.
1146-
See http://sourceforge.net/tracker/?func=detail&aid=3327171&group_id=292083&atid=1234808
1208+
See https://sourceforge.net/p/dos2unix/bugs/7/
11471209
* Keep permissions also on Windows. Use chmod() i.s.o. fchmod().
11481210

11491211
2011-06-16 Erwin Waterlander <waterlan@xs4all.nl>

dos2unix/DEVEL.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ breaks untouched.
2121
2. Unix filter
2222
==============
2323

24-
When a standard Unix filter, e.g. sed or tr, reads input from a file it sends
24+
When a standard Unix filter, e.g. sed or sort, reads input from a file it sends
2525
its output by default to standard out. This implementation of dos2unix does by
2626
default in-place conversion (overwriting the input file), which seems not in line.
2727

2828
Dos2unix is not part of the Unix standard. Most Unixes have their
2929
own implementation of dos2unix. There is a lot of variation in command names,
3030
options, and behavior. The SunOS version of dos2unix, after which this version was
3131
modeled, does by default paired conversion.
32-
This implementation of dos2unix has too much legacy to change the current behaviour.
33-
Changing it would have more disadvantages than advantages. Most people expect
34-
dos2unix to do in-place conversion. The majority of other open source implementations
35-
also convert by default in-place. In-place conversion has the advantage that it is
36-
very easy to convert multiple files by using wild cards.
37-
This implementation of dos2unix does send the output to standard-out when the
38-
input comes from standard-in. So you can use it as filter. Note that dos2unix/
39-
unix2dos is also used a lot on non-Unix operating systems where the filter idea
40-
is less known.
32+
This implementation of dos2unix has too much legacy to change the current
33+
default behaviour. Changing it would have more disadvantages than advantages.
34+
Most people expect dos2unix to do in-place conversion. The majority of other
35+
open source implementations also convert by default in-place. In-place
36+
conversion has the advantage that it is very easy to convert multiple files by
37+
using wild cards. Note that dos2unix/unix2dos is also used a lot on non-Unix
38+
operating systems where the filter idea is less known.
39+
Since version 7.5.0 dos2unix has option -O to write to standard output like
40+
a Unix filter.
4141

4242

4343
3. Recursive conversion of files
@@ -58,7 +58,7 @@ no need to duplicate this.
5858
of several DOS code pages to and from ISO-8859-1. These conversions are also
5959
part of the SunOS dos2unix implementation after which this implementation has
6060
been modeled. Although these conversions are not much used these days they have
61-
been added for the sake completeness. Conversion of CP1252 was added, because
61+
been added for the sake of completeness. Conversion of CP1252 was added, because
6262
it is used a lot in the Western world. It's almost identical to ISO-8859-1. There
6363
is no intention to add other conversions to and from ISO-8859-1.
6464

dos2unix/INSTALL.txt

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ PREREQUISITES
3232

3333
Using Watcom C:
3434
Required
35-
* Open Watcom : http://www.openwatcom.org/
36-
* Open Watcom V2 : http://open-watcom.github.io/open-watcom/ (git repo)
37-
http://sourceforge.net/projects/openwatcom/ (binaries download)
35+
* Open Watcom : https://sourceforge.net/projects/openwatcom/
36+
: https://github.com/open-watcom/open-watcom-1.9
37+
* Open Watcom V2 : https://github.com/open-watcom/open-watcom-v2
3838

3939

4040
Using Microsoft Visual C++:
4141
Required
4242
* Visual C++ : You can get a free community version via this web page:
43-
https://www.visualstudio.com/vs/community/
43+
https://visualstudio.microsoft.com/vs/community/
4444
Download Visual Studio for Windows Desktop. Visual C++ is part
4545
of Visual Studio. Out of the box compilation for 64-bit
4646
applications is supported since version 2012.
@@ -184,8 +184,8 @@ LARGE FILE SUPPORT
184184
Disable LFS:
185185
make clean install LFS=
186186

187-
The gcc compiler from the mingw.org project does not support LFS.
188-
It is advised to use the mingw-w64 compiler tool chain for LFS on
187+
The gcc compiler from the MinGW project does not support LFS.
188+
It is advised to use the MinGW-w64 compiler tool chain for LFS on
189189
32 bit Windows.
190190

191191

@@ -240,28 +240,28 @@ DOCUMENTATION
240240

241241
WINDOWS 32 BIT PORT
242242

243-
Using Mingw <http://www.mingw.org>, or MinGW-w64
244-
<http://mingw-w64.sourceforge.net>.
243+
Using Mingw <https://osdn.net/projects/mingw/>,
244+
or MinGW-w64 <https://www.mingw-w64.org/>.
245245

246-
I advise to use mingw-w64, because mingw-w64 has support for
247-
Large File Support (LFS), and mingw doesn't. LFS is the ability to
246+
I advise to use MinGW-w64, because MinGW-w64 has support for
247+
Large File Support (LFS), and MinGW doesn't. LFS is the ability to
248248
read/write files larger than 2GB or 4GB on a 32 bit operation system.
249249
LFS also makes processing files on network drives more reliable. I have
250250
had a problem report that output files were not always written when files
251251
on a network drive were concurrently processed. By switching from
252-
mingw to mingw-w64 the problem was solved.
252+
MinGW to MinGW-w64 the problem was solved.
253253
Earlier I got a problem report of accessing small files on a Windows
254254
network drive from Debian Linux. Here also the solution was LFS.
255255
Since dos2unix 6.0.4 (2013-12-30) I build the binary win32 packages
256-
with mingw-w64.
256+
with MinGW-w64.
257257

258-
I am using the MSYS2 project <http://sourceforge.net/projects/msys2/>
258+
I am using the MSYS2 project <https://www.msys2.org/>
259259
which includes the MinGW-w64 compiler.
260260

261261
The MSYS(2) environment is required for building dos2unix with MinGW(-w64).
262262

263263

264-
Type these commands to build with mingw(-w64):
264+
Type these commands to build with MinGW(-w64):
265265

266266
make clean
267267
make
@@ -283,16 +283,16 @@ WINDOWS 32 BIT PORT
283283

284284
The win32 binaries built with MinGW32 are packed with a patched version of
285285
MinGW's libintl-8.dll that has builtin support for relocation. See also
286-
http://waterlan.home.xs4all.nl/libintl.html and
287-
http://sourceforge.net/p/mingw/bugs/1808/
286+
https://waterlan.home.xs4all.nl/libintl.html and
287+
https://sourceforge.net/p/mingw/bugs/1808/
288288
The MSYS2 project has the relocation patch already included.
289289

290290

291291
WINDOWS 64 BIT PORT
292292

293293
To compile a version for 64 bit Windows, get the Mingw-w64 compiler
294-
<http://mingw-w64.sourceforge.net>.
295-
I am using the MSYS2 project <http://sourceforge.net/projects/msys2/>
294+
<https://www.mingw-w64.org/>.
295+
I am using the MSYS2 project <https://www.msys2.org/>
296296
which includes the MinGW-w64 compiler.
297297

298298
The MSYS2 environment is required for building dos2unix with MinGW-w64.
@@ -315,7 +315,7 @@ WINDOWS 64 BIT PORT
315315
DOS PORT, 32 BIT
316316

317317
To compile a version for DOS, get the DJGPP compiler
318-
<http://www.delorie.com/djgpp/>, and use makefile djgpp.mak.
318+
<https://www.delorie.com/djgpp/>, and use makefile djgpp.mak.
319319
DJGPP 2.03 gcc >= 4.6 seems to cause problems. Crashes of gcc itself,
320320
or crashing dos2unix binaries (seen in DOSBox and DOSEMU).
321321
Use DJGPP 2.03 gcc <= 4.5.3.

dos2unix/Makefile.original

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Author: Erwin Waterlander
22
#
3-
# Copyright (C) 2009-2020 Erwin Waterlander
3+
# Copyright (C) 2009-2022 Erwin Waterlander
44
# All rights reserved.
55
#
66
# Redistribution and use in source and binary forms, with or without
@@ -396,7 +396,7 @@ $(UNIX2DOS_BIN): unix2dos.o querycp.o common.o
396396
$(CC) $+ $(LDFLAGS) $(LIBS) -o $@
397397

398398
# DJGPP supports linking of .EXEs via 'stubify'.
399-
# See djgpp.mak and http://www.delorie.com/djgpp/v2faq/faq22_5.html
399+
# See djgpp.mak and https://www.delorie.com/djgpp/v2faq/faq22_5.html
400400
# ln -s does automatic stubify in DJGPP 2.03.
401401
# This changed in DJGPP 2.05. DJGPP 2.05 emulates symbolic links.
402402

@@ -508,6 +508,9 @@ man/fr/man1/$(PACKAGE).$(HTMLEXT) : man/fr/man1/$(PACKAGE).pod
508508
man/nl/man1/$(PACKAGE).$(HTMLEXT) : man/nl/man1/$(PACKAGE).pod
509509
PERL_UNICODE=SDA pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - DOS/Mac naar Unix en vice versa tekstbestand formaat omzetter" $< > $@
510510

511+
man/ko/man1/$(PACKAGE).$(HTMLEXT) : man/ko/man1/$(PACKAGE).pod
512+
PERL_UNICODE=SDA pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - DOS/맥 에서 유닉스에서, 그 반대로의 텍스트 파일 형식 변환 프로그램" $< > $@
513+
511514
man/pl/man1/$(PACKAGE).$(HTMLEXT) : man/pl/man1/$(PACKAGE).pod
512515
PERL_UNICODE=SDA pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - konwerter formatu plików tekstowych między systemami DOS/Mac a Uniksem" $< > $@
513516

@@ -520,9 +523,15 @@ man/uk/man1/$(PACKAGE).$(HTMLEXT) : man/uk/man1/$(PACKAGE).pod
520523
man/zh_CN/man1/$(PACKAGE).$(HTMLEXT) : man/zh_CN/man1/$(PACKAGE).pod
521524
PERL_UNICODE=SDA pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - DOS/Mac - Unix文件格式转换器" $< > $@
522525

526+
man/sr/man1/$(PACKAGE).$(HTMLEXT) : man/sr/man1/$(PACKAGE).pod
527+
PERL_UNICODE=SDA pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - претварач формата текстуалних датотека из ДОС/Мек-а у Јуникс и обратно" $< > $@
528+
523529
man/sv/man1/$(PACKAGE).$(HTMLEXT) : man/sv/man1/$(PACKAGE).pod
524530
PERL_UNICODE=SDA pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - textfilsformatskonverterare från DOS/Mac till Unix och vice versa" $< > $@
525531

532+
man/ro/man1/$(PACKAGE).$(HTMLEXT) : man/ro/man1/$(PACKAGE).pod
533+
PERL_UNICODE=SDA pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - Convertor de format de fișier text din DOS/Mac în Unix și viceversa" $< > $@
534+
526535
test: all
527536
ifneq ($(DJGPP),)
528537
cd test; $(MAKE) test UCS= SHELL=$(shell which sh)

dos2unix/NEWS.txt

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
2023-08-29: Version 7.5.1
2+
3+
* Fixed problem of converting a symbolic link target
4+
that is on another file system.
5+
* Updated Chinese and Serbian translations.
6+
7+
2023-05-17: Version 7.5.0
8+
9+
* New option -e, --add-eol to add a line break to the last
10+
line if there isn't one. Option --no-add-eol disables the
11+
feature.
12+
* New option -O, --to-stdout to write to standard output.
13+
14+
2023-02-11: Version 7.4.4
15+
16+
* New Catalan, Georgian, Romanian, and Korean translations of the
17+
UI messages.
18+
* New Korean and Romanian translations of the manual.
19+
* Several translation updates.
20+
21+
2022-06-05: Version 7.4.3
22+
23+
* New Serbian translation of the manual.
24+
* Updated Esperanto translation.
25+
* Skip GB18030 tests on Darwin.
26+
127
2020-10-12: Version 7.4.2
228

329
* New Friulian translation of the messages.
@@ -6,7 +32,7 @@
632

733
2019-09-24: Version 7.4.1
834

9-
* Updated Danish, German, Hungarian, Japanese and Ukranian translations.
35+
* Updated Danish, German, Hungarian, Japanese and Ukrainian translations.
1036
* Code cleanup.
1137

1238
2017-10-10: Version 7.4.0
@@ -115,7 +141,7 @@
115141

116142
* Dos2unix is part of the Translation Project (TP).
117143
All translations go via the Translation Project.
118-
See http://translationproject.org/
144+
See https://translationproject.org/
119145
* New translations of UI messages: Brazilian Portuguese, Chinese (traditional),
120146
Danish, French, Hungarian, Polish, Serbian, Ukrainian, Vietnamese.
121147
* New translations of the manual: Brazilian Portuguese, French, German,
@@ -164,7 +190,7 @@
164190

165191
2012-01-27: Version 5.3.2
166192

167-
* New homepage URL: http://waterlan.home.xs4all.nl/dos2unix.html
193+
* New homepage URL: https://waterlan.home.xs4all.nl/dos2unix.html
168194
* Compiles for native MSYS.
169195
* Compile with OpenWatcom for DOS32 and Win32.
170196
* Detect code page on OS/2.

0 commit comments

Comments
 (0)