Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #160536
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: how execute a script |
| Date | 2015-11-14 00:40 +0100 |
| Message-ID | <quw6J-4vm-3@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <qunmO-7uR-11@gated-at.bofh.it> <quoiS-84T-11@gated-at.bofh.it> <quqb0-Rg-15@gated-at.bofh.it> <qutVf-3d2-1@gated-at.bofh.it> <quuHG-3K0-53@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri 13 Nov 2015 at 16:08:07 (-0600), Don Armstrong wrote: > On Fri, 13 Nov 2015, David Wright wrote: > > The implementation isn't necessarily irrelevant when you have to > > maintain the scripts yourself. Just at the level of pressing F3 in mc, > > or running less, it saves time knowing what you expect to appear on > > the screen. > > A good $EDITOR takes care of that for you. > > http://git.donarmstrong.com/?p=bin.git;a=tree is my own ~/bin; never had > any trouble figuring out what language things were... and if I needed > something to do it programmatically, file does a pretty good job itself. Well I find, say, less bin/*py much easier to type than fiddling about with file or grep to get the same effect. > > I have links and scripts such as > > radio2wav → record2wav.py stoprecording → stoprecording.sh > > vinyl2wav → record2wav.py > > which are used both directly and by cron, but also scripts like > > split-tracks.py which would only ever be used from the command line. > > All these reside together in my ~/bin/ which is on-PATH. > > You've now got tab completion going to two different things, and twice > as many entries in ~/bin/ as you might expect. But hey; if it works for > you, great. Tab completion just does the right thing: it matches up to the . and then pressing return gets to follow the link. And not twice as many. The only links are to the scripts that get called from elsewhere. There aren't that many. As I've said, these are personal scripts so there's no need for it to scale up like the system. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how execute a script Pol Hallen <deben@fuckaround.org> - 2015-11-13 15:00 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-13 15:20 +0100
Re: how execute a script Pol Hallen <deben@fuckaround.org> - 2015-11-13 15:50 +0100
Re: how execute a script Lotek <lotek3@verizon.net> - 2015-11-14 01:30 +0100
Re: how execute a script Pol Hallen <deben@fuckaround.org> - 2015-11-14 11:00 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-15 15:20 +0100
Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-13 16:20 +0100
Re: how execute a script Don Armstrong <don@debian.org> - 2015-11-13 18:20 +0100
Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-13 22:20 +0100
Re: how execute a script Don Armstrong <don@debian.org> - 2015-11-13 23:10 +0100
Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-14 00:40 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-14 08:40 +0100
Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-16 05:50 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-16 10:50 +0100
Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-16 19:30 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 09:20 +0100
Re: how execute a script Gene Heskett <gheskett@shentel.net> - 2015-11-13 15:20 +0100
Re: how execute a script Gene Heskett <gheskett@shentel.net> - 2015-11-13 15:30 +0100
csiph-web