Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Why not simply apply' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Why not simply apply
Authored by: juanfc on Mar 21, '03 12:26:09PM
Try with

apply 'hdiutil internet-enable -yes' *.dmg

it allows you to be modified easily and all you need is a simple apply before the not-expand-wildcards-command.

---
---
juan

[ Reply to This | # ]

Huh? Why not simply apply
Authored by: mech_filter on Mar 22, '03 08:03:41AM

Not sure I'm following you.

A) I'm not sure where you want me to put this into the script - do you
mean to just replace the hdiutil line with your version exactly as you've
given it?

B) More to the point, I don't understand what benefit this would have;
the script already does exactly what it should (or at least what I
expected it to). Would it do something better with your edit? If so,
what?



[ Reply to This | # ]
Huh? Why not simply apply
Authored by: vajonez on Mar 22, '03 12:56:58PM
He means that with apply you don't need the for loop, and possibly wouldn't need the shell wrapper at all (since it is such a simple command).

[ Reply to This | # ]