Re: Re: Piping Commands to a shell through lsxcommand.
Fidel <[email protected]>
| Newsgroups | gmane.comp.windows.shells.litestep |
|---|---|
| Message-ID | <[email protected]> |
Thanks for all the help, Especially Brian. I think that was the general nudge I needed. When I'm done, I'll throw the work together and mail the list so everyone can benefit. Again Thanks so much! On 8/2/07, Ariel Millennium Thornton <[email protected]> wrote: > On Thu, 02 Aug 2007 23:00:58 -0400 Brian Wolven wrote: > > > Fidel wrote: > > > Hi beloved Steppers > > > > > > I am trying to get my todo.txt (todotxt.com) Completely editable > > > through lsxcommand. The simple parts are all done, I can view my > > > scrolling todo list through xlabel, and I can add list items through > > > lsxcommand, textedit and autorecycle. What I would like to do now is > > > be able to delete list items and have all the functionality of the > > > original cygwin todo.sh just by using lsxcommand. To my mind I would > > > have to pipe commands from lsxcommand to a bash shell. But another > > > thing I'm thinking is that really... All of this should be doable > > > through textedit. > > > > > > Can anybody give me some advice on either sending commands to a bash > > > shell or how I might do the other stuff with textedit? Thanks for > > > any pointers anybody might have. > > > > > > > I think you ought to be able to pass stuff to bash in a > > non-interactive mode. I haven't tried anything fancy, but the > > following worked from the lsxcommand line: > > > > c:\cygwin\bin\bash -c "ls" > > If you'll pardon a somewhat rusty lurker for speaking up... Don't > forget to try using "start desired-command" as the name of the Windows > command, on the off chance calling the desired-command gives the "Bad > command or filename" type of error. > > --------------------------------------------------------------------- > Can't Unsubscribe? Check http://desktopian.org/listunsub.html > LS List Homepage: http://wuzzle.org/list/litestep.php > Get the LS FAQ: http://lsfaq.shellfront.org > > -- Fidel --------------------------------------------------------------------- Can't Unsubscribe? Check http://desktopian.org/listunsub.html LS List Homepage: http://wuzzle.org/list/litestep.php Get the LS FAQ: http://lsfaq.shellfront.org