cheat / cheatsheets

Community-sourced cheatsheets
1.84k stars 344 forks source link

bash: add new examples and group existing ones #179

Closed EmilyGraceSeville7cf closed 2 years ago

EmilyGraceSeville7cf commented 2 years ago

Maybe I add more examples from: https://mywiki.wooledge.org/BashPitfalls

EmilyGraceSeville7cf commented 2 years ago

@chrisallenlane, how to properly escape placeholder characters? Is it correct:

(( <first_number> <==|!=|\>|\>=|\<|\<=> <second_number> ))

?

chrisallenlane commented 2 years ago

@EmilySeville7cfg

Thanks for the effort here, but I'm going to decline to merge this one.

This cheatsheet encompasses a lot of material that's covered by other cheatsheets, and I prefer to keep cheatsheets atomic and granular in order to promote readability and searchability.

EmilyGraceSeville7cf commented 2 years ago

@chrisallenlane

Can I conclude it as «Don't describe in shell pages smth already described in pages for separate shell commands»? It just for myself, to make decisions without doubts when contributing here.

If it's true then... There is a problem: this project can potentially evolve to the «TlDr without many formal rules» counterpart while splitting pages into small searchable parts.