Quote the Pattern

Easy · Quoting · Quoting · Globbing

Problem

Two files exist: notes.txt and todo.txt.

Print the pattern *.txt literally on the first line, then let the shell expand it on the second, so the two filenames appear separated by a space.

Approaches

Related problems

Start free on Cariara · Coding problems · System design studio

Starting Python
No results yet.

          
↑↓ move ↵ open esc close

Labs

Loading labs…

Run with your own input

Starting Python

Loading Python…