From e6b04d9ffd8bef2482ab61957c138ae92527206d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 17:15:03 -0400 Subject: Protect [ commands from strings beginning with "-" --- (limited to 'TODO') diff --git a/TODO b/TODO index 1bb124c..f868293 100644 --- a/TODO +++ b/TODO @@ -6,7 +6,6 @@ General Cleanup * General code auditing and cleanup: - Protect against command operands beginning with "-", e.g.: - * `[ "x${foo}" = 'xbar' ]` instead of `[ "${foo}" = 'bar' ]` * `mkdir -p -- "${foo}"` instead of `mkdir -p "${foo}"` - Add more error handling. * Write manual pages for functions and utilities. -- cgit v0.9.1