20 lines
427 B
Bash
20 lines
427 B
Bash
#!/bin/bash
|
|
# The Editor — write a multi-line journal entry.
|
|
#
|
|
# Your script must create a file `journal.md` containing exactly:
|
|
#
|
|
# # Cadet Log — Day 1
|
|
#
|
|
# Today I learned to navigate the shell.
|
|
# Tomorrow I will write code.
|
|
#
|
|
# Note the empty line between the header and the body.
|
|
#
|
|
# A heredoc writes multiple lines at once:
|
|
#
|
|
# cat > journal.md <<EOF
|
|
# ...lines here...
|
|
# EOF
|
|
|
|
# Your code here.
|