Restructure repo layout and document conventions
Move legacy systemscripts into scripts/display and scripts/setup. Rehome stray top-level tools into their domain folders. Archive narrow experiments and outdated codegrab leftovers. Remove empty legacy directories and stale root files. Expand macOS metadata ignores and update the README with the refined repository structure.
This commit is contained in:
17
tools/data/csv2dot
Executable file
17
tools/data/csv2dot
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
header=1
|
||||
file=test.csv
|
||||
output="${file}.dot"
|
||||
delim=,
|
||||
s_id=6
|
||||
d_id=8
|
||||
e_label=11
|
||||
cat > "${output}" <<EOF
|
||||
graph a{
|
||||
node [shape=record]
|
||||
EOF
|
||||
|
||||
#awk -F"${delim}" '{print "\""$6 "\" -> \"" $8 "\"[label=\"" $11"\"]"}' "${file}" >> "${output}"
|
||||
awk -F"${delim}" '{print "\""$6 "\" -- \"" $8 "\""}' "${file}" >> "${output}"
|
||||
echo "}" >> "${output}"
|
||||
Reference in New Issue
Block a user