I normally use BlackBox for editing and comparing text files. Of course there a lot of Linux tools to do the same jobs.
When I create with nano a bash file
e.g. test.sh:
#!/bin/bash
date +"%d-%m-%Y %H:%M:%S"
echo "hello world"
and run it with
./test.sh
it works well.
But after edit file test.sh with BlackBox the bash file doesn't run any more.
Even I change the file test.sh with nano again it doesn't work.
Only with cut and paste it in nano into an other new file I get it working again.
Both files looks the same with cat, but one is working and one not.
Why I can't edit it with BlackBox?
- Helmut
Using BlackBox in Linux Mint and Ubuntu
Re: Using BlackBox in Linux Mint and Ubuntu
I found the answer of this problem:
Linux text files ends with LF only.
Windows text files ends with CR & LF.
Writing text files with BlackBox always add CR.
@Ivan: How does you Linux version of BlackBox handels text files?
Are there any changes?
- Helmut
Linux text files ends with LF only.
Windows text files ends with CR & LF.
Writing text files with BlackBox always add CR.
@Ivan: How does you Linux version of BlackBox handels text files?
Are there any changes?
- Helmut