mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 15:28:40 +08:00
Save the tr
command I keep going to SO for
This commit is contained in:
parent
8754519746
commit
5d161de0ed
@ -91,3 +91,11 @@ $ dot dot/trpl04-01.dot -Tsvg > src/img/trpl04-01.svg
|
||||
In the generated SVG, remove the width and the height attributes from the `svg`
|
||||
element and set the `viewBox` attribute to `0.00 0.00 1000.00 1000.00` or other
|
||||
values that don't cut off the image.
|
||||
|
||||
## Converting Windows newlines to Unix
|
||||
|
||||
This is mostly for Carol's reference because she keeps having to look it up.
|
||||
|
||||
```
|
||||
$ tr -d '\015' < DOS-file > UNIX-file
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user