I made a start, and then after reading about a thousand 'teach yourself python' and 'teach yourself shell script' things I created a sort of launch script in shell. In general it is fine but for some reason this line:
- Code: Select all
echo $2 > /home/me/workon.txt
is adding in a blank line underneath the text. This would be fine but $2 is a filename and both bash and python say the file doesn't exist. If I go and remove this empty line in kate and run the next module then it's ok but it'd be better not to have to.
If anyone knows how to get rid of the blank line it would help a lot.
Thanks in advance