Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

The BProlog and its documentation

36 views
Skip to first unread message

Antti J Ylikoski

unread,
Feb 27, 2013, 10:47:29 AM2/27/13
to
I downloaded the BProlog system and its documentation.

Very good. I shall use it both for my own non-commercial AI learning
projects and solving my practical chess club problem (which BTW is
writing optimal tournament tables for a Tandem/Bughouse chess
tournament, the problem can be expressed as a constraint satisfaction
problem.)

There are some typos and one bug in the manual that I could detect. In
the very beginning there are there the instructions how to make the
BProlog run in Windows, Linux and Mac OS. The instructions for the
Linux (I run the Ubuntu Linux) should read that there must be a file called

.bashrc

(Bourne Alternative Shell ReConstruct)

and it should contain the line

alias bp='$HOME/BProlog/bp'

this way the system will run in my Ubuntu Linux PC.

kind regards, Antti J Ylikoski
Rovaniemi, Lapland, Finland, the E.U.

Sergii Dymchenko

unread,
Feb 27, 2013, 2:15:34 PM2/27/13
to
On Wednesday, February 27, 2013 7:47:29 AM UTC-8, Antti J Ylikoski wrote:
> .bashrc
> (Bourne Alternative Shell ReConstruct)

Where did you get that meaning? Actually bashrc means "Bourne-again shell run commands" (see http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29 and http://unix.stackexchange.com/questions/3467/what-does-rc-in-bashrc-stand-for).

And there a lot of ways to make a program (bp) runnable from any directory in Linux, and of course not of them include .bashrc manipulations.

Sergii.

Antti J Ylikoski

unread,
Feb 27, 2013, 2:41:42 PM2/27/13
to
It is indeed true that an executable file can be made runnable from any
directory with several ways; I'm merely referring to what the BProlog
manual says and how to correct it.

I simply remembered wrong how the name of the /bin/bash expands to.
Lapsus linguae!

Well of course one could for example manipulate the $PATH shell variable
to make the BProlog runnable from anywhere... But as I said, I'm only
pointing out bugs in the manual, not writing a POSIX manual set.

Andy

"An individual can correct his thoughts." -- A Christian Scientist.

0 new messages