Skip to main content
7 ton shark

Line \ Continuation

Examples of line continuation characters in Bash, Command (Batch) and PowerShell.

Bash / zsh / sh #

cd apps/my-app
rushx build-native \
  --platform ios \
  --flavor dev \
  --clean

Batch (dos command script) #

cd apps/my-app
rushx build-native ^
  --platform ios ^
  --flavor dev ^
  --clean

PowerShell #

cd apps/my-app
rushx build-native `
  --platform ios `
  --flavor dev `
  --clean