|Think about Loose Coupling|
awk/perl?by bigbossman72 (Initiate)
|on Dec 16, 2003 at 16:11 UTC||Need Help??|
bigbossman72 has asked for the
wisdom of the Perl Monks concerning the following question:
i have been using this command to modify flat files that list directory contents, replacing the permissions listing with carriage returns:
it works fine *except* on flat files that have more than 199 records (awk's limit, it turns out).
any idea how to do this with perl so as to avoid any record amount limit?
thanks in advance! - j
here is a sample flat file (ugly, isn't it?):
update (broquaint): tidied up formatting + added <readmore> tag