Using BlackBox in Linux Mint and Ubuntu

Usage of the framework, compiler and tools

Using BlackBox in Linux Mint and Ubuntu

Postby Zinn » Mon Jan 28, 2019 11:08 am

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: 61
Joined: Mon Nov 24, 2014 10:47 am

Re: Using BlackBox in Linux Mint and Ubuntu

Postby Zinn » Wed Jan 30, 2019 8:10 am

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
Zinn
 
Posts: 61
Joined: Mon Nov 24, 2014 10:47 am


Return to Common questions

Who is online

Users browsing this forum: No registered users and 0 guests

cron