{"tool":"tldr","tool_display":"Tldr","intent":"view-documentation-for-bracket-keyword","intent_display":"view documentation for bracket keyword","title":"Tldr Command: view documentation for bracket keyword","command_string":"tldr [","raw_command_string":"tldr [","description":"Exact CLI syntax to view documentation for bracket keyword using Tldr.","usage_scenario":"Utilize this command when you need to quickly understand the usage of command-line syntax involving brackets, such as during high-pressure development sprints where time efficiency in documentation access is vital.","scenario_context":"Quickly grasp bracket function usages to enhance your programming efficiency.","simulated_output":"$ tldr [\n\n# [ - Test for an empty value\n\n### Example\n\n```bash\nif [ -n \"$var\" ]; then\n    echo \"Variable is not empty\"\nfi\n```\n\n### Options\n\n| Option | Description                          |\n|--------|--------------------------------------|\n| -n     | Check if the string is not empty    |\n| -z     | Check if the string is empty        |\n\n```bash\n# Usage\nif [ -z \"$var\" ]; then\n    echo \"Variable is empty\"\nfi\n```","how_to_steps":["Run the command: `tldr [`","Review the output for usage examples and options available for brackets.","Implement the examples in your scripts to test their functionality."],"inferred_category":"Documentation","canonical_url":"https://www.syntaxstandard.com/tldr/view-documentation-for-bracket-keyword"}