Skip to content
The Shell Reliquary

/static/relicario/en/etiqueta/modificadores/

Menu

This filter is a page

Drawer: Modifiers

Suffixes that polish whatever the designator fished out.

7 relics on this page

  1. SHL-016 :h Of a path, keep the directory: dirname without a subshell. Modifiers uncommon
  2. SHL-017 :t Of a path, keep the file name: a two-letter basename. Modifiers uncommon
  3. SHL-018 :r Drops the file's extension and keeps the rest. Modifiers forgotten
  4. SHL-019 :e Keeps only the extension, discarding the rest. Modifiers forgotten
  5. SHL-020 :s/a/b/ Swaps the first occurrence of a for b before running. Modifiers forgotten
  6. SHL-021 :gs/a/b/ Swaps every occurrence, not just the first. Modifiers forgotten
  7. SHL-022 :p Prints the expansion without running it — the box's safety net. Modifiers uncommon