Fish - The friendly interactive shell
Posted May 30, 2005 21:15 UTC (Mon) by
liljencrantz (subscriber, #28458)
In reply to:
Fish - The friendly interactive shell by Jyhem
Parent article:
Fish - The friendly interactive shell
Look at your example again... If *.bak does not match anything, the for loop body will execute exactly zero times. So the rm command will _never_ be run. And even if it had, running rm without any parameters doas not remove anything. So you are doubly safe.
(
Log in to post comments)