Unix and Linux Discussions Tagged with dos |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
2,377 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,354 |
Windows & DOS: Issues & Discussions |
|
|
|
3 |
3,870 |
BSD |
|
|
|
6 |
3,264 |
Shell Programming and Scripting |
|
|
|
0 |
6,166 |
Windows & DOS: Issues & Discussions |
|
|
|
0 |
761 |
Software Releases - RSS News |
|
|
|
0 |
747 |
Software Releases - RSS News |
|
|
|
0 |
776 |
Software Releases - RSS News |
|
|
|
2 |
9,988 |
Windows & DOS: Issues & Discussions |
|
|
|
0 |
696 |
Software Releases - RSS News |
|
|
|
0 |
685 |
Software Releases - RSS News |
|
|
|
0 |
750 |
Software Releases - RSS News |
|
|
|
0 |
2,679 |
IT Security RSS |
|
|
|
0 |
799 |
Software Releases - RSS News |
|
|
|
1 |
5,107 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
785 |
Software Releases - RSS News |
|
|
|
4 |
11,194 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
920 |
Software Releases - RSS News |
|
|
|
3 |
7,493 |
Shell Programming and Scripting |
|
|
|
0 |
961 |
Software Releases - RSS News |
|
|
|
0 |
880 |
Software Releases - RSS News |
|
|
|
1 |
2,477 |
Shell Programming and Scripting |
|
|
|
1 |
3,429 |
Windows & DOS: Issues & Discussions |
|
|
|
1 |
5,327 |
Windows & DOS: Issues & Discussions |
|
|
|
1 |
3,300 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,089 |
Shell Programming and Scripting |
|
|
|
4 |
2,582 |
Shell Programming and Scripting |
|
|
|
1 |
3,868 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,942 |
Windows & DOS: Issues & Discussions |
|
|
|
10 |
8,961 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
3,919 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,120 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,933 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,503 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,045 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,196 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
14,970 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,511 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,501 |
IP Networking |
|
|
|
3 |
4,278 |
UNIX for Advanced & Expert Users |
cr(1) General Commands Manual cr(1)
NAME
cr - converts text files between nix EOL and dos EOL
SYNOPSIS
cr - | + <input file> <output file>
DESCRIPTION
Text files, such as tle files, that come from a dos source usualy have the ^M symbol at the end of every line. Cr converts files between
the dos newline format and the normal *nix newline format by stripping the ^M to convert dos to *nix, using the '-' option, or adding ^M to
a *nix file to create the proper dos file when the '+' option is used.
Although this extra character is not often a problem, programs like seesat5, which are data driven will encounter parsing problems when the
extra character is present. It is these problems that cr is intended to repair.
Options
- | + One or the other of these options is required. The '-' option is used to remove ^M from all newlines found in the dos file. The '+'
option is used to add ^M to every newline found in a *nix file.
input file
Fully delineated path to the input file. As this program is used in the dos environment as well, standard input is not used.
output file
Fully delineated path to the output file. As this program is used in the dos environment as well, standart output is not used.
SEE ALSO
seesat5(1), seesat5(7), SEESAT5.INI(5), tle(5)
BUGS
Cr is not an inteligent program. It methodicaly replaces/removes the offending character when it finds it in the correct context. Newline
sequences found in contexts other than 'newline' will be replaced/removed just like those found in the proper context. Passing a binary
file through cr is not advised, for this reason. Send all inqueries to Dale Scheetz <dwarf@polaris.net>.
Debian Linux 2 April 96 cr(1)