sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
- From: Harley J Pig <harleypig AT harleypig.com>
- To: sm-sorcery <sm-sorcery AT lists.ibiblio.org>
- Subject: Re: [SM-Sorcery]Second proposal for edit_file()
- Date: Tue, 10 Sep 2002 12:47:40 -0600
I know this is a reply to a week old thread, but I'm behind.
On Sunday 01 September 2002 23:52, Robin Cook wrote:
> Only thing I can think of is needing the -w swich so that nano won't
> have the line wrapping problem.
How about adding something like $EDITOR_OPTS and allow the user to set
their own options. Then the function would be written as follows:
edit_file() {
${EDITOR:-nano} ${EDITOR_OPTS} $1
}
This would allow people to have their own custom options very easily
without bloating the code.
Should I submit this as a patch to bugzilla?
Alan
-
Re: [SM-Sorcery]Second proposal for edit_file(),
Nathan Doss, 09/01/2002
- Re: [SM-Sorcery]Second proposal for edit_file(), Jon Svendsen, 09/01/2002
- <Possible follow-up(s)>
-
Re: [SM-Sorcery]Second proposal for edit_file(),
Nathan Doss, 09/02/2002
- Re: [SM-Sorcery]Second proposal for edit_file(), Ryan Abrams, 09/02/2002
-
Re: [SM-Sorcery]Second proposal for edit_file(),
Robin Cook, 09/02/2002
- Re: [SM-Sorcery]Second proposal for edit_file(), Eric Sandall, 09/02/2002
- Re: [SM-Sorcery]Second proposal for edit_file(), Harley J Pig, 09/10/2002
- Re: [SM-Sorcery]Second proposal for edit_file(), Nathan Doss, 09/02/2002
Archive powered by MHonArc 2.6.24.