Commit 1a411a7f authored by Niels Möller's avatar Niels Möller
Browse files

"process_atoms table" now generates a table with names and lengths.

Rev: src/process_atoms:1.2
parent 0ed017f1
...@@ -68,10 +68,10 @@ case $1 in ...@@ -68,10 +68,10 @@ case $1 in
;; ;;
table) table)
header header
echo -n '{ "UNKNOWN"' echo -n '{ { "UNKNOWN", 0 }'
while getatom; do while getatom; do
echo ',' echo ','
echo -n ' "'$atom'"' echo -n ' {' \"$atom\", ${#atom} '}'
done done
echo ' }' echo ' }'
;; ;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment