Using BlackBox in Linux Mint and Ubuntu

Usage of the framework, compiler and tools
Post Reply
Zinn
Posts: 123
Joined: Mon Nov 24, 2014 10:47 am
Location: Frankfurt am Main
Contact:

Using BlackBox in Linux Mint and Ubuntu

Post 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

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
Zinn
Posts: 123
Joined: Mon Nov 24, 2014 10:47 am
Location: Frankfurt am Main
Contact:

Re: Using BlackBox in Linux Mint and Ubuntu

Post 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
Post Reply