CodeRigor

WEEKLY ENGINEERING PRACTICE

One filename or two arguments?

A small reasoning exercise. Follow the behavior, choose an explanation and use the feedback to decide what to practice next.

Trace the behavior

With Bash’s default IFS and no matching glob characters, what does this print?

Bash
name='report draft.txt'
printf '<%s>\n' $name

Choose your explanation