Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux.ubuntu > #197539
| From | Bit Twister <BitTwister@mouse-potato.com> |
|---|---|
| Newsgroups | alt.os.linux.ubuntu |
| Subject | [OT] Re: systemd was Re: nautilus not working/wireless not responding either |
| Date | 2017-10-27 00:23 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrnov4v4u.tf7.BitTwister@wb.home.test> (permalink) |
| References | (13 earlier) <slrnou1is6.jir.BitTwister@wb.home.test> <6dednQH9XdaBSX3EnZ2dnUU7-W2dnZ2d@giganews.com> <f54h99Ffor4U1@mid.individual.net> <slrnouqc3d.jcr.BitTwister@wb.home.test> <f5c5g4F8u30U1@mid.individual.net> |
On Wed, 25 Oct 2017 12:03:30 -0700, fred flintstone wrote:
>
> My scripts begin with a number followed by a period. Ben Bararisse
> suggested it in comp.unix.programmer, but it's entirely possible that he
> could have pranking me. I find that it saves on typing on the command
> line to use lower numbers first, a tab key, and a period.
Each to their own. I happen to be using geany as my editor. Makes my
life pretty easy. If I launch it without an argument, it opens the
file(s) that I did not remove from its memory.
I have a standard boilerplate/skeleton. When I start a new app, I copy
it to the app and start hacking away at it.
Since I use a consistent programming style it made dead easy to do man
a consistent change throughout my files.
I wanted to change 139 files, launched geany with each file, did a
Ctrl-h to replace a string with another one, click In Session button
and all 139 files were changed. :)
As for your less typing kick, it is possible to set up an alias to do
the typing for you.
example if you had APP=dump_env.sh
and an alias e='edt $APP'
and an alias r='$APP'
Now all you would need to do e to edit, and r to run dump_env.sh.
edt is my script to automagically pick what editor to use for a given
file type. Example snippet from grep '\&' edt
ods) libreoffice --calc $_fn &
odt) libreoffice $_fn &
csv) gnumeric -g 787x768 $_fn 2>/dev/null &
xls) gnumeric -g 787x768 $_fn 2>/dev/null &
gnumeric) gnumeric -g 787x768 $_fn 2>/dev/null &
$EDITOR $_fn &
-----------------
EDITOR is whatever editor that is installed.
$ echo $EDITOR
geany
EDITOR was set with this logic.
#*****************************************
# decide which editor is installed
#* and is to be the default file editor.
#* first one found wins.
#*****************************************
for e in geany kwrite gedit nedit emacs gvim vi ; do
_editor=$(type -p $e)
if [ $? -eq 0 ] ; then
_editor=$(basename $_editor)
break
fi
done
export EDITOR=$_editor # default file editor
export VISUAL=emacs # default command line editor
export PAGER=less # default file pager
export TERM=vt100
Back to alt.os.linux.ubuntu | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-09-24 12:36 -0700
Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-09-24 15:46 -0400
Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-09-29 14:26 -0700
Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-04 19:40 -0700
Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-05 05:03 +0000
Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-07 15:49 -0700
Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-07 23:24 +0000
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-10 23:22 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-10 20:32 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-11 04:52 +0000
Re: systemd was Re: nautilus not working/wireless not responding either Melzzzzz <Melzzzzz@zzzzz.com> - 2017-10-11 05:00 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-12 16:09 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-13 03:06 +0000
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 00:33 -0400
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-13 05:00 +0000
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 09:31 -0400
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 09:32 -0400
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-13 14:19 +0000
Re: systemd was Re: nautilus not working/wireless not responding either Marek Novotny <marek.novotny@marspolar.com> - 2017-10-13 09:56 -0500
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-22 14:35 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-22 23:57 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-25 12:03 -0700
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-26 12:46 -0400
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-26 23:54 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-31 17:28 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-11-01 01:36 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-11-06 12:35 -0800
[OT] Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-27 00:23 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-25 16:13 -0700
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 11:42 -0400
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 11:45 -0400
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-13 17:03 -0700
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 20:25 -0400
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-14 01:45 +0000
Re: systemd was Re: nautilus not working/wireless not responding either Mike Easter <MikeE@ster.invalid> - 2017-10-10 16:34 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Mike Easter <MikeE@ster.invalid> - 2017-10-10 16:41 -0700
Re: nautilus not working/wireless not responding either Mike Easter <MikeE@ster.invalid> - 2017-10-11 10:28 -0700
[OT] Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-11 17:50 +0000
csiph-web