Differences

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

Link to this comparison view

Both sides previous revision Previous revision
linux:shell [2024/04/22 00:07]
cyril [Misc]
linux:shell [2024/12/11 09:40] (current)
cyril [Misc]
Line 98: Line 98:
 fi fi
 </code> </code>
-  * Load command output as a file:<code>+  * **Load command output as a file:**<code>
 diff <(grep x file1) <(grep y file2) diff <(grep x file1) <(grep y file2)
 </code> </code>
 +  * **Remove extension from file name:**<code>
 +${f%.png} # with all shells
 +${f:r}    # only zsh
 +</code>
 +
 +
linux/shell.txt ยท Last modified: 2024/12/11 09:40 by cyril
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0