home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-04-23 | 316 b | 11 lines | [TEXT/MPS ] |
- #
- # MPW Shell script for UNIX-like "ls" command.
- # Determines optimal number of columns based on
- # current MPW window size. Assumes font
- # Monaco 9. Requires the tool "colm".
- #
- Evaluate x = "`SizeWindow {Active}`" =~ ∂
- /[a-zA-Z]+ ([0-9]+)®1 ≈/
- Evaluate w = ({®1} - 1) ÷ 6
- Files {"Parameters"} | colm -w {w}
-