Unix and Linux Discussions Tagged with dos |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
3,728 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,728 |
Windows & DOS: Issues & Discussions |
|
|
|
3 |
4,588 |
BSD |
|
|
|
6 |
3,616 |
Shell Programming and Scripting |
|
|
|
0 |
7,088 |
Windows & DOS: Issues & Discussions |
|
|
|
0 |
1,058 |
Software Releases - RSS News |
|
|
|
0 |
1,048 |
Software Releases - RSS News |
|
|
|
0 |
1,145 |
Software Releases - RSS News |
|
|
|
2 |
11,333 |
Windows & DOS: Issues & Discussions |
|
|
|
0 |
984 |
Software Releases - RSS News |
|
|
|
0 |
881 |
Software Releases - RSS News |
|
|
|
0 |
1,029 |
Software Releases - RSS News |
|
|
|
0 |
2,855 |
IT Security RSS |
|
|
|
0 |
956 |
Software Releases - RSS News |
|
|
|
1 |
5,455 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,022 |
Software Releases - RSS News |
|
|
|
4 |
11,438 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,297 |
Software Releases - RSS News |
|
|
|
3 |
7,761 |
Shell Programming and Scripting |
|
|
|
0 |
1,302 |
Software Releases - RSS News |
|
|
|
0 |
1,277 |
Software Releases - RSS News |
|
|
|
1 |
2,756 |
Shell Programming and Scripting |
|
|
|
1 |
4,432 |
Windows & DOS: Issues & Discussions |
|
|
|
1 |
6,316 |
Windows & DOS: Issues & Discussions |
|
|
|
1 |
3,468 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,359 |
Shell Programming and Scripting |
|
|
|
4 |
2,728 |
Shell Programming and Scripting |
|
|
|
1 |
4,152 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
8,287 |
Windows & DOS: Issues & Discussions |
|
|
|
10 |
9,522 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
4,258 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,699 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,407 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,946 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,260 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,391 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
15,479 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,762 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,714 |
IP Networking |
|
|
|
3 |
5,043 |
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)