in reply to Re^6: magic-diamond <> behavior -- WHAT?!
in thread magic-diamond <> behavior -- WHAT?!
There's no guarantee any program treats a filename given as argument as nothing else than a filename. In fact, most programs don't. And you should be quite aware of that when using *, or any other form of expansion (for instance, when using find ... | xargs). Being aware of what you are doing is far more useful than removing magic open.
It's like saying let's equip every Toyota with safety belts.That doesn't help the person crossing the street with his eyes closed, does it?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: magic-diamond <> behavior -- WHAT?!
by zwon (Abbot) on Oct 28, 2009 at 17:07 UTC | |
by JavaFan (Canon) on Oct 28, 2009 at 17:19 UTC | |
by zwon (Abbot) on Oct 28, 2009 at 20:00 UTC | |
by JavaFan (Canon) on Oct 28, 2009 at 20:16 UTC |