4 lines
97 B
Bash
Executable file
4 lines
97 B
Bash
Executable file
#!/bin/bash
|
|
echo -n "data:,"
|
|
cat $1 | tr '\n' '*' | sed -e 's/*/%0A/g' | sed -e 's/ /%20/g'
|
|
echo
|