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)作者: guaiguai 时间: 2007-6-23 16:59 不错的小工具作者: a00b00 时间: 2007-9-23 23:10 大哥, 你为什么设权限啊