l -- a simple minimal ls clone
% l
39,967 Slash_Utility_Data_Data.pm
- snapshots.tar
141,978 template-pocketref.rtf
2,449 test.txt
394,020 The_Perl_Review_0_0.pdf
585 todo.txt
- Torgo
This is an extremely simple-mindend ls
clone, motivated mainly by the fact that I couldn't get ls
to put commas in the file sizes.
Save this file as l.pl and put in directory in your path. In the same directory, create a batch file l.bat consisting of this:
@echo off
perl -S l.pl %1 %2 %3 %4 %5 %6 %7 %8 %9
Or possibly:
@echo off
perl -S l.pl %1 %2 %3 %4 %5 %6 %7 %8 %9 |more
Sean M. Burke, sburke@cpan.org