ls and path

View: New views
2 Messages — Rating Filter:   Alert me  

ls and path

by Kolmakov, German V :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Developers!

First of all, thank you very much for such an excellent program as Gnuplot is.
I used it everyday in my scientific work during more than 10 years on
Unix platform. Both standard 2-dim graphics and "pm3d" are very useful.

My only comment: sometimes it would be convenient to printout the list of files in a directory.
Really, I do it very often, many times in each gnuplot session. It can be done by escaping to shell command,
"!ls", of course.

My proposition is to include the "ls" command into the list of gnuplot standard command,
like "pwd" or "cd", for example. It would save a little time for users because they could omit "!"))).

Also, can I assign the path to search command files in gnuplot?
I have a collection of hand-written files (to generate .eps graphics, for example)
and it would be convenient to store them in one place.

Thank you very much in advance.
With the best wishes,

German Kolmakov
Swanson School of Engineering
University of Pittsburgh.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gnuplot-bugs mailing list
gnuplot-bugs@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs

Re: ls and path

by Hans-Bernhard Bröker-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kolmakov, German V wrote:

> My proposition is to include the "ls" command into the list of gnuplot standard command,
> like "pwd" or "cd", for example. It would save a little time for users because they could omit "!"))).

But unlike pwd and cd, which are needed for gnuplot's own operation (the
current directory directory directly affects file lookup), 'ls' doesn't
do anything for gnuplot.  It would therefore go directly against the
Unix tool philosophy of "one tool <-> one task".  Because of this, I'm
opposed to this change.

> Also, can I assign the path to search command files in gnuplot?

See "help loadpath".



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gnuplot-bugs mailing list
gnuplot-bugs@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs