Skip to content

Commit

Permalink
Rename Bash Test Operators cheat sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapeli committed Jun 1, 2019
1 parent 8e0105d commit 77b8006
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions cheatsheets/Bash_Tests.rb → cheatsheets/Bash_Test_Operators.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
cheatsheet do
title 'Bash Test Operators'
docset_file_name 'Bash_Tests'
docset_file_name 'Bash_Test_Operators'
keyword 'bashtests'
source_url 'http://cheat.kapeli.com'

introduction <<-'END'
Everything that can be useful in test constructs (if statements) in a bash environment.
This cheatsheet is based on the [Advanced Bash-Scripting Guide](http://tldp.org/LDP/abs/html/tests.html) by Mendel Cooper.
This cheat sheet is based on the [Advanced Bash-Scripting Guide](http://tldp.org/LDP/abs/html/tests.html) by Mendel Cooper.
END

category do
id 'Compound comparison'
id 'Compound Comparison'

entry do
command '-a'
Expand All @@ -26,7 +26,7 @@
end

category do
id 'Integer comparison'
id 'Integer Comparison'

entry do
command '-eq'
Expand Down Expand Up @@ -98,7 +98,7 @@


category do
id 'String comparison'
id 'String Comparison'

entry do
command '='
Expand Down
3 changes: 2 additions & 1 deletion cheatsheets/Carthage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title 'Carthage'
docset_file_name 'Carthage'
keyword 'carthage'

source_url 'http://cheat.kapeli.com'

# A cheat sheet must consist of categories
category do
id 'Downloading Libraries' # Must be unique and is used as title of the category
Expand Down

0 comments on commit 77b8006

Please sign in to comment.