aboutsummaryrefslogtreecommitdiff
path: root/include/output.h
Commit message (Collapse)AuthorAgeFilesLines
* rename output.h to trace_macros.hThorsten Töpper2025-08-311-23/+0
|
* Added SPDX string to headersThorsten Töpper2025-08-211-1/+4
|
* split_for_sort: Split a given file into bucketsThorsten Töpper2025-08-101-0/+20
The target bucket is decided based on the first X characters of a line. The bucket name gets a prefix defined as argument and can be sorted faster on weak hardware. Note: This is just a split alternative. Real world usage in a shell script with a file in which the first 10 characters are the equal in each line, the following 2 bytes are evaluated for splitting: split_for_sort TMPSFS 12 raw_data.txt for f in TMPSFS ; do sort -o "${f}_sorted" -u "${f}" done \# Rely on the argument resolution to go with lexical order cat TMPSFS*_sorted > sorted_data.txt rm TMPSFS*