mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 12:57:01 +00:00
modify output example for #43
This commit is contained in:
parent
ca89df83dc
commit
55fc47b685
34
README.md
34
README.md
@ -3155,17 +3155,29 @@ cd $(mktemp -d)
|
||||
mkdir -p project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat}
|
||||
# -p: make parent directory
|
||||
# this will create:
|
||||
project/
|
||||
project/bin/
|
||||
project/demo/
|
||||
project/demo/stat/
|
||||
project/doc/
|
||||
project/doc/html/
|
||||
project/doc/info/
|
||||
project/doc/pdf/
|
||||
project/lib/
|
||||
project/lib/ext/
|
||||
project/src/
|
||||
# project/
|
||||
# project/bin/
|
||||
# project/demo/
|
||||
# project/demo/stat/
|
||||
# project/doc/
|
||||
# project/doc/html/
|
||||
# project/doc/info/
|
||||
# project/doc/pdf/
|
||||
# project/lib/
|
||||
# project/lib/ext/
|
||||
# project/src/
|
||||
#
|
||||
# project/
|
||||
# ├── bin
|
||||
# ├── demo
|
||||
# │ └── stat
|
||||
# ├── doc
|
||||
# │ ├── html
|
||||
# │ ├── info
|
||||
# │ └── pdf
|
||||
# ├── lib
|
||||
# │ └── ext
|
||||
# └── src
|
||||
```
|
||||
|
||||
##### Run command only if another command returns zero exit status (well done)
|
||||
|
Loading…
Reference in New Issue
Block a user