Bash Determine whether a Variable Contains Spaces: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

20 September 2019

  • curprev 19:5319:53, 20 September 2019Ovidiu talk contribs 198 bytes +198 Created page with "=Internal= * bash =Method 1= <syntaxhighlight lang='bash'> if [[ ${a} = ${a// /} ]]; then echo "spaces NOT found" else echo "spaces found..."