=== W8AWT is now known as Augustine_W8AWT | ||
waldo323 | good morning | 11:58 |
---|---|---|
rick_h | Snowy morning | 13:47 |
rick_h | Roads are fuuuun! | 13:47 |
waldo323 | it was raining when I got to work | 13:49 |
waldo323 | I guess it is being michigan out | 13:49 |
_stink_ | in the 10 minutes i was out to take my boys to school | 13:50 |
_stink_ | it went from sleet to big fluffy snow | 13:51 |
waldo323 | yikes, sounds dangerous out. vim question, i'd like to open vim with the cursor at a line which has particular text is there a way to do this directly with vim? otherwise I figure I can find the line number some other way and go from there | 13:51 |
_stink_ | good segue there waldo323 | 13:55 |
_stink_ | i can't think of a way. | 13:57 |
waldo323 | thank you :) | 14:00 |
waldo323 | oops, I forgot I couldn't enter vim directly for cron anyway and I don't think crontab -l accepts line numbers | 14:09 |
cmaloney | Good morning | 15:05 |
cmaloney | I'm glad I don't have to drive in this | 15:05 |
cmaloney | the lids on the trash bins were covered with ice | 15:05 |
cmaloney | waldo323: You likely want sed | 15:05 |
rick_h | +1 to sed, and awk! can't have sed without awk! | 15:06 |
rick_h | well, you can. but it's much less cool that way | 15:07 |
cmaloney | heh | 15:07 |
cmaloney | Although I think I misread the question | 15:07 |
cmaloney | But in the process I learned about a few vim command line options | 15:09 |
waldo323 | can i use that(sed/awk) coupled with contab -e ? | 15:59 |
rick_h | sure | 16:02 |
waldo323 | I'm not seeing options for crontab to pass arguments to the text editor (vim) | 16:09 |
waldo323 | I'd searched previously and thought perhaps my search fu wasn't quite working. it isn't a big deal, more of a it would be nice if there was something to speed the process up | 16:11 |
waldo323 | I think the better option is to move management of cron to ansible :) | 16:40 |
cmaloney | Yeah, ansible would be my choice for cron | 17:12 |
cmaloney | or moving files into cron.d | 17:12 |
cmaloney | rather than manage one large crontab | 17:12 |
cmaloney | Oh, this looks handy: https://stackoverflow.com/questions/134906/how-do-i-list-all-cron-jobs-for-all-users | 17:14 |
cmaloney | https://stackoverflow.com/a/137173/535883 | 17:14 |
cmaloney | (in particular) | 17:14 |
waldo323 | oh neat | 20:43 |
waldo323 | thanks | 20:43 |
waldo323 | it is helpful to see things all in one place | 20:44 |
=== goat-g is now known as greg-g |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!