Page 1 of 1

Using BlackBox in Linux Mint and Ubuntu

PostPosted: Mon Jan 28, 2019 11:08 am
by Zinn
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

date +"%d-%m-%Y %H:%M:%S"
echo "hello world"

and run it with
it works well.

But after edit file with BlackBox the bash file doesn't run any more.
Even I change the file 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

Re: Using BlackBox in Linux Mint and Ubuntu

PostPosted: Wed Jan 30, 2019 8:10 am
by Zinn
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