Yes
What media player did you use with the command?
play (aka sox)
...because that's what you instructed sed to do.
Try
Code: Select all
sed -i "${LINENUM}i${INSERTTEXT}" ${TASKS_DIR}"${*}"
As for the changes in dc:
I suggest to replace this tool with something more "stable", to make the code backward compatible, e.g. with bc (provided the syntax hasn't changed as well).
Even better - and faster - would be to use POSIX compatible shell arithmetic and substitution.
For open issues/questions see my previous post.
It's just a normal and valid PNM file, readable with mtPaint, Viewnior and - of course - MMview