|
A filelist sorted by date and time |
Pipelines v1.6 |
.* Example by TenFiftyTwo(c). |
.* The following pipeline searches for TEXT and HTML files on the C drive; selecting.* only the first 20 entries, it sorts them by the date and time and displays the.* result on the console. pipe (priority 2 endchar ?)
filelist drv=c subdir ext=(txt,htm) .* List .txt and .htm files. | a: drop 1 .* Dont sort the header record. | take 20 .* Take only the first 20 records. | sort 12.10 d 23.8 d .* Sort on date and then time. | b: fanin 1 * .* Read header record first. | cons .* Display on the console. ? a: | elastic .* Prevent a pipeline stall. | b: .* Route header back to main pipeline.