Mailinglist Archive: opensuse (1355 mails)

< Previous Next >
Re: [opensuse] Baffled by shell script
On 23 June 2018 at 20:10, Joseph Comfort <Joseph.Comfort@xxxxxxx> wrote:

eddsk=/usr/local/ED-159

$eddsk/edc $eddsk/vt200.ed $eddsk/ed.setup 0 0 -1 -u $1 $2 $3 $4 $5 $6 $7

It is used for text editing. A command such as: 'ted filename' gives the
error message

/usr/local/bin/ted: line 7: /usr/local/ED-159/edc: No such file or directory


But the file exists. The command 'dir /usr/local/ED-159/edc' yields
-rwxr-xr-x 1 root root 214104 Sep 10 2006 /usr/local/ED-159/edc

The directory chain and permissions are as they need to be.

Can you simply run the command directly from a shell prompt and see
what happens?

My suspicion is that the edc file fails to start because of some lost
prerequisite, and so shell says the file is not there.

--
Yours, Mikhail Ramendik

Unless explicitly stated, all opinions in my mail are my own and do
not reflect the views of any organization

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References