• 0 Posts
  • 7 Comments
Joined 7 months ago
cake
Cake day: March 14th, 2025

help-circle






  • Now I’m imagining a shell that looks iteratively through arguments to find where quotes would make total sense

    $ ls
    my victims.ods
    $ wipe -f my victims.ods --thorough
    

    So the shell would go like

    1. wipe → command name found, ok
    2. -f → no file in the current directory starts with that, skip
    3. my → matches a file, keep in memory…
    4. my victims.ods → full match, but missing quotes!
    5. Prompt user:
    Filename "my victims.ods" found without quotes. Choose:
    [a]dd quotes this time
    [A]lways add quotes (dangerous)
    [n]o quotes today please
    [N]ever offer adding quotes again
    [t]ell me what could possibly go wrong when I choose to always add quotes
    [P]unch the person who proposed this feature