[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why doesn't this do what I expect?
From: |
Paul Fox |
Subject: |
Re: Why doesn't this do what I expect? |
Date: |
Thu, 10 Nov 2022 15:50:23 -0500 |
chris wrote:
> On Thu, Nov 10, 2022 at 08:58:14PM +0100, Gary Jennejohn wrote:
> > vile `cat ^Xe .zot` where .zot contains .bashrc and vile opens .bashrc.
> >
> > ^X = ctrl-V+ctrl-X
> >
> Sadly this won't help me as I'm trying to run this from a panel
> launcher button in [x]ubuntu, thus I can't use any bash, all I can
> have is a plain text command line.
Why can't you just do:
bash -c "vile $(cat .zot)"
Where .zot contains the filename you want to edit? Why do you need
to use "-ce"?
Okay, I see you said "plain text command line". In that case, I
suggest you create a tiny script that does what you need, and call
that from the launcher config.
paul
=----------------------
paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 59.9 degrees)
Re: Why doesn't this do what I expect?, Gary Jennejohn, 2022/11/11