How nice if LS lets user add a phase at the beginning or append a phase to end of every item it outputs.
-tslim
I think you're asking for more than a directory lister there. I'd go back to DOS, and use
Horst Schaeffer's LMOD to pre-pend/append text:
LMOD 1.3 Filter (c) 2002 Horst Schaeffer
Syntax: LMOD options string_with_tokens
Options:
/Ln[-m] line [range] to select (default: first non blank line)
/L[n]* all lines [starting n]
/E include empty input lines (default: no output)
/S.. delimiters for word extraction, instead of default (,;=)
/B.. as /S, but excluding blank space as delimiter
/Nn starting line number (for token [#]), default: /N001
Insert from source line (expression in square brackets):
[p,l $n U|L Rn] default []: complete line
p,l from position p, length l (default rest of line)
$n word number n ("!" for last word); optionally ±offset
$n:m range of words by number (blank space will be inserted)
U|L convert to upper|lower case
Rn right aligned in output field of size n
Other tokens:
[+] insert CR+LF
[-] omit CR+LF at end of output
[#] line number (digits acc. to option, default:3)
[=n] tab to position n in output line
[~n] ASCII code n (decimal)
[".."] quoted char/string (use for redirection symbols)
I believe there could be a TC plugin for what I want to do, but isn't it a main feature that should be IN the TC program itself rather than an optional plugin?
You could always ask Christian for the feature...
@Mouser: I found LS from PriceLessWare, if I remember correctly.