
4 Jun
2013
4 Jun
'13
9:55 a.m.
Matthew Cengia <mattcen@gmail.com> wrote:
That's a slightly different approach, and one that I don't think does as much quoting as it should. If you can reasonably make assumptions about (for example) the absense of spaces in filenames of deb packages, then your approach will work, but mine is slightly more robust. I'd have quoted every expansion of "$fn", and not used the $() because of the space issue.
Agree on both points, although I'm yet to find a file name containing spaces on my machine.