mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 10:06:28 +08:00
Use 80 as width, not filename
In trying the `taocl` function I get the error ```shell $ taocl fmt: cannot open ‘80’ for reading: No such file or directory ``` Looks like the final phrase should use the `80` as an option, ... `| fmt -80` (or `| fmt --width=80`)
This commit is contained in:
parent
5686447a22
commit
199affaeaf
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ A few examples of piecing together commands:
|
|||
pandoc -f markdown -t html |
|
||||
xmlstarlet fo --html --dropdtd |
|
||||
xmlstarlet sel -t -v "(html/body/ul/li[count(p)>0])[$RANDOM mod last()+1]" |
|
||||
xmlstarlet unesc | fmt 80
|
||||
xmlstarlet unesc | fmt -80
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue