mirror of
https://github.com/nasa/fpp.git
synced 2025-12-11 19:23:13 -06:00
10 lines
107 B
Bash
Executable File
10 lines
107 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
input=$1.txt
|
|
output=$1-comma.txt
|
|
|
|
{
|
|
tr '\n' ',' < $input | sed 's/,$//'
|
|
echo
|
|
} > $output
|