Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I convert a file in MS-DOS text format to UNIX format?.

convert file format MS-DOS text Unix
0
Posted

How can I convert a file in MS-DOS text format to UNIX format?.

0

A carriage-return/line-feed marks the end-of-line in a text file in MS-DOS text format. UNIX systems use the just the line-feed (newline) character. Most native utilities will accept either format but some require carriage-return/line-feed. Many UNIX utilities will fail if carriage-return/line-feed is used. The UWIN cat command has options -t and -T to convert to and from MS-DOS format. In addition, the UWIN provides the nocrnl utility to convert carriage-return/line-feeds to line-feeds in text files in place. • How do I run a command like dir which is built into the MS-DOS shell? The Windows NT command processor CMD.EXE can be run from ksh, so CMD.EXE built-in commands can also be run. Assuming that PATH has been set up to include the Windows NT system directory, UWIN environment could be set to give the dir command for directory listings. For example setting the alias, alias dir=’CMD.EXE /c “dir /on”‘, will allow the native dir command to be used in ksh. • How can I set the home dire

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123