- - PR -
poorman
1
| 投稿者 | 投稿内容 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
投稿日時: 2001-10-06 01:34
Linux has "rev" filter that reverses each line.
can W2K script do it? see threads of "stdin ?" and "poorman's "sed"" for hints. or we may need more. | ||||||||
|
投稿日時: 2001-10-06 02:37
oops! the subject line was really POORly crafted.
I meant it to be "poorman's rev" if you are in need of string output without CR/LF you may cheat like this:
| ||||||||
|
投稿日時: 2001-10-21 06:29
here's an implementation of "rev" that works likes this:
rev.bat
| ||||||||
|
投稿日時: 2001-10-23 02:22
if we allow "rev" to make a mirror program -
of which output is a mirror image of itsef - then here's one:
using the same idea of self-reproducing program "@type %~f0" | ||||||||
1
