Merge 98a81588e9
into f800f02ba0
commit
305ddab950
|
@ -227,6 +227,11 @@ Notes:
|
||||||
|
|
||||||
- Use `zless`, `zmore`, `zcat`, and `zgrep` to operate on compressed files.
|
- Use `zless`, `zmore`, `zcat`, and `zgrep` to operate on compressed files.
|
||||||
|
|
||||||
|
- To convert files between different systems, which encode newlines differently, you have `dos2unix` and `unix2dos`. If these commands are not present, you may use the following `awk` scripts.
|
||||||
|
```sh
|
||||||
|
awk '{ sub("\r$", ""); print }' winfile.txt > unixfile.txt
|
||||||
|
awk 'sub("$", "\r")' unixfile.txt > winfile.txt
|
||||||
|
```
|
||||||
|
|
||||||
## System debugging
|
## System debugging
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue