Montag, 16. September 2013

bash "--" = no more options

This one is a bash tweak! If you need to tell a bash script, that there are no more options to come you can just add -- after all comments.
This is especially helpfull if a keyword after that has to start with a minus.

 rename -- -help help *  

renames the -help into help in all files.

Keine Kommentare:

Kommentar veröffentlichen