[xubuntu-users] editing any file in xubuntu

Nino Pereira ninorpereira at gmail.com
Mon Apr 10 23:07:01 UTC 2023


Just asking....

do you have perl? and, did you follow this note for linux (at the end of
the web page)

Note 4: For Linux (operating system) users, I got the following note from a
reader.

The Perl script doesn't run as-is on Unix-like systems when one
double-clicks on the icon.  It's an easy fix, though. Add this line to the
top of the file:

#!/usr/bin/perl

Perl treats it as a comment and ignores it, but the Bash shell in Linux
sees the #! in the first two bytes and then knows that the path to the
program that will run the executable script follows on the same line.
Microsoft Windows does it by filename extension, but Unix/Linux doesn't
give a whit about filename extensions when it comes to deciding what
interpreter to use: It's all in the text that follows the "hash-bang" (#!).

If the user knows that their Perl interpreter is located elsewhere, in a
non-standard location or with a different name, they're probably savvy
enough to modify the path in the Perl script as needed.  The code will
still run fine on Windows systems with the modification.

On Mon, Apr 10, 2023 at 3:41 PM John R. Sowden <jsowden at americansentry.net>
wrote:

> On 4/8/23 12:51, Nino Pereira wrote:
> > https://ataridogdaze.com/tech/wordstar-convert.html
> >
> > (found by googling for 'wordstar to utf")
> >
> >
> > On Sat, Apr 8, 2023 at 3:45 PM John R. Sowden
> > <jsowden at americansentry.net> wrote:
> >
> >     while using DOS,I could use any editor to exit any file.  I might
> >     trash
> >     the file when I saved it, such as a dbf  fiile.
> >     Now in xubuntu I cannot seem to edit a Wordstar file with the high
> >     bit
> >     set because any editor that I have tried (about 6) all check to
> >     see what
> >     the UTF code is and reject editing, or present me with a blank
> screen.
> >
> >     I tried a program (iconv?) to ee what the UTF code it, but a
> >     couple of
> >     then give the  "Data" instead of the utf code.
> >
> >     Been using xubuntu for about 20 years, but now I need to edit
> >     hundreds
> >     of Wordstar 5.5 files.
> >
> >     Any help?
> >
> >     John
> >
> >     I had a problem running the python program (Xubuntu could not find
> >     the program even though
> >     it was in the same directory as the WS programs.  I also could not
> >     set it to run as a program in permissions.
> >     I gave up.
> >
> >     Actually what I was trying to find  was an editor that would only
> >     edit certain types of files, vs an editor that would edit any kind
> >     of file.  Search failed to find that. I am now trying to get
> >     dosemu2 running (problem) and so I could read the file using
> >     Wordstar and save it as a "non-document " file, they edit it with
> >     fonts etc. \using Libre-Office.
> >
> >     John
> >
> >     --
> >     xubuntu-users mailing list
> >     xubuntu-users at lists.ubuntu.com
> >     Modify settings or unsubscribe at:
> >     https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
> >
> >
> >
> > --
> > Nino R. Pereira
> > 7844 Vervain Ct
> > Springfield, VA 22152 USA
> > 703 623 0099
> >
> >
> >
> >
>
>
> --
> xubuntu-users mailing list
> xubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>


-- 
Nino R. Pereira
7844 Vervain Ct
Springfield, VA 22152 USA
703 623 0099
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20230410/6385cd2d/attachment.html>


More information about the xubuntu-users mailing list