User Tools

Site Tools


os_cp:scripting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
os_cp:scripting [2025/04/02 21:22]
jkonczak
os_cp:scripting [2026/04/08 22:53] (current)
jkonczak [Parameters and variables in shell]
Line 214: Line 214:
   * ''​${X#​pattern}''​ → ''​X'''​s value with the shortest match of the ''​pattern''​ removed from the end \\ ''​${X##​pattern}''​ → ''​X'''​s value with the longest match of the ''​pattern''​ removed from the end   * ''​${X#​pattern}''​ → ''​X'''​s value with the shortest match of the ''​pattern''​ removed from the end \\ ''​${X##​pattern}''​ → ''​X'''​s value with the longest match of the ''​pattern''​ removed from the end
 </​small>​ </​small>​
 +
 +++++ Examples | {{section>​os_cp:​scripting:​examples#​simple_vars&​inline&​noheader}} ++++
  
 ~~Exercise.#​~~ ~~Exercise.#​~~
os_cp/scripting.txt · Last modified: 2026/04/08 22:53 by jkonczak