Skip to content
Commit 5a6f6b7e authored by Vincent Stehle's avatar Vincent Stehle
Browse files

cat.sh: use iconv



Currently we `cat' all the discrete .ekl log files into a big, single file
directly as binaries. This adds UTF-16 two bytes BOM everywhere in the
middle of the resulting cat_summary.ekl.

Fix that with iconv: we convert all the log files to UTF-8 on the fly and
back to UTF-16 while concatenating.

While at it, handle an optional command line argument to specify the
folder to search for logs.

Signed-off-by: Vincent Stehle's avatarVincent Stehlé <vincent.stehle@arm.com>
parent 6572f107
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment