home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d5xx
/
d513
/
newlist.lha
/
NewList
/
Aliases
< prev
next >
Wrap
Text File
|
1991-07-20
|
2KB
|
52 lines
;Here are some aliases to try.
;
; dir - output similar to dir opt s
; mrdir - two column dir.
; list - output of Commodore `list`
; ls - output of ls
; script - basics to make a script file. Only need to add custom format
; ie script >ram:script dh0:*.c -F "copy \'%P\' to ram:"
; If you prefer less's pager, you can pipe nl's data to it
; with this command: script dh0: | c:less
;
; find - Like UNIX find. Will print exact path of files without
; anytype of headers or footers.
; usage find RootPath[:/]FilePattern
; ie find dh0:*.lzh finds all lzh files on dh0:
; find dh0:source/*.o finds all object files in dh0:source
;
; color - shows off ansi sequencing to produce color, italics, bold, etc.
; Here's some hints:
; \e[0m plain text \e[30-39m Forground color
; \e[1m bold text \e[41-49m Background color
; \e[3m italic text \e[7m Inverse Video
; \e[4m underline text
;
; dirtype - ls with filetypes! If you use comments right you can have
; nice informative directories. Simply put a filenote on each
; file giving it a category. Now when you dirtype, you'll
; have a new wealth of information. Here's an example output:
;
;Directory of "Dh1:newlist5" on 18-Jun-91 00:10:18 AM
; -s--rwed Jun 18 00:06 script 2415 Aliases
; ----rwed Jun 09 02:33 text 353 Commodore.README
; ----rwed Jun 15 00:06 text 16327 NewList.doc
; ----rwed Jun 15 00:06 text 11410 History
; ----rwed Jun 09 02:33 text 2904 Times.doc
; ----rwed Jun 13 02:06 icon 880 Times.doc.info
; --p-rwed Jun 17 15:06 util 18112 NewList
;7 files - 0 dirs - 116 blocks - 54850 bytes
;
; Neat eh?
alias dir nl -qs -gb -y 2 []
alias list nl -z []
alias ls nl -s []
alias mrdir nl -q -gb -y 2 []
alias script nl -h -T []
alias find nl -H -h -s -T -F "%P" []
alias dirtype nl -F " %p %d %6N %7v %n" -df "%3M %2d %02h:%02m" -sc []
alias weird nl -F " %22n %-7s" -s []
alias odd nl -F " %d %p %c %7v %n" -df "%02m.%02d.%02y" -s []
alias color nl -F "\e[3;42;31m%22n \e[0m \e[1;43;32m%p \e[0m \e[0;32;41m%-7v\e[0m %d" -df "\e[4m%02d.%03M.%02y\e[0m \e[33m%02h:%02n:%02s\e[0m" -s -gb []