Wiki Update: Using Paths in Shell Scripts

Submitted for your review, comment, and/or revision, the following Wiki article has been updated:

Passing Paths in Variables in Shell Scripts

Primary Changes

  • ADD example of how to properly quote complex command lines that use both KM Variable and single quotes.

@peternlewis, Chris @ccstone: Please review my changes to ensure I have properly captured the basis for quoting Bash strings.

1 Like

Clearly we both had the same idea.

I expanded out the Quoting Strings section:

Probably the Passing Paths section should concentrate on the paths issue (particularly spaces in paths and handling ~), and the quoting strings section can cover the more arcane parts of single and double quoted strings.

1 Like