Difference between revisions of "Dirname"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
* <code>[[mkdir -p]]</code>
 
* <code>[[mkdir -p]]</code>
 
* <code>[[mkdir -p]] "$(dirname "$1")" && [[touch]] "$1"</code>
 
* <code>[[mkdir -p]] "$(dirname "$1")" && [[touch]] "$1"</code>
 +
* <code>[[BASH_SOURCE]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 17:13, 15 August 2022

Advertising: