editing gnuplot initialization file

Ryan Schmidt ryandesign at macports.org
Wed Mar 31 20:58:19 PDT 2010


Then I guess you have to create them.

On Mar 31, 2010, at 22:57, Zachary Cordero wrote:

> Alright, so then where can I find the initialization file?  The files mentioned in the gnuplot manual are not in my home directory and I can't find them in the port contents.  Any suggestions?
> 
> Thanks,
> Zack 
> 
> On Wed, Mar 31, 2010 at 11:40 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
> On Mar 31, 2010, at 22:34, Scott Haneda wrote:
> 
> > On Mar 31, 2010, at 8:18 PM, Zachary Cordero wrote:
> >
> >> I'm a new to unix so sorry for the trivial question but I just used macport to install gnuplot and I'd like to edit the gnuplot initialization file.  Where can I find it on my comp?  I'm using Mac OS 10.5.
> >
> > Anything that MacPorts installed can be located with `port contents portname` on the command line.  In your case, it would be `port contents gnuplot` I believe.  That will list every file that MacPorts installed for that particular portfile.  Substitute any port name you desire, as long as the port has been installed.
> 
> True, but any file the user is expected to edit, such as a configuration file, should not show up in "port contents". (If it does, it is a bug in the port.) Sample configuration files, however, if there are any, would show up.
> 
> 
> > If you know the name of the file you are looking for, a `sudo find /opt/local -name "the-filename-pattern"` where "the-filename-pattern" can be a regular expression, so to find all ini files, it would be "*.ini" or just look for the exact filename "gnuplot.ini" ( `sudo find /opt/local -name "gnuplot.ini"` )
> 
> Actually, "find" takes a glob pattern; regular expression syntax is different from glob syntax.
> 
> http://en.wikipedia.org/wiki/Glob_(programming)
> 
> http://en.wikipedia.org/wiki/Regular_expression
> 
> 
> 



More information about the macports-users mailing list