/srv/irclogs.ubuntu.com/2018/01/12/#ubuntu-us-mi.txt

=== W8AWT is now known as Augustine_W8AWT
waldo323good morning11:58
rick_hSnowy morning13:47
rick_hRoads are fuuuun!13:47
waldo323it was raining when I got to work13:49
waldo323I guess it is being michigan out13:49
_stink_in the 10 minutes i was out to take my boys to school13:50
_stink_it went from sleet to big fluffy snow13:51
waldo323yikes, 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 there13:51
_stink_good segue there waldo32313:55
_stink_i can't think of a way.13:57
waldo323thank you :)14:00
waldo323oops, I forgot I couldn't enter vim directly for cron anyway and I don't think crontab -l accepts line numbers14:09
cmaloneyGood morning15:05
cmaloneyI'm glad I don't have to drive in this15:05
cmaloneythe lids on the trash bins were covered with ice15:05
cmaloneywaldo323: You likely want sed15:05
rick_h+1 to sed, and awk! can't have sed without awk!15:06
rick_hwell, you can. but it's much less cool that way15:07
cmaloneyheh15:07
cmaloneyAlthough I think I misread the question15:07
cmaloneyBut in the process I learned about a few vim command line options15:09
waldo323can i use that(sed/awk) coupled with contab -e ?15:59
rick_hsure16:02
waldo323I'm not seeing options for crontab to pass arguments to the text editor (vim)16:09
waldo323I'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 up16:11
waldo323I think the better option is to move management of cron to ansible :)16:40
cmaloneyYeah, ansible would be my choice for cron17:12
cmaloneyor moving files into cron.d17:12
cmaloneyrather than manage one large crontab17:12
cmaloneyOh, this looks handy: https://stackoverflow.com/questions/134906/how-do-i-list-all-cron-jobs-for-all-users17:14
cmaloneyhttps://stackoverflow.com/a/137173/53588317:14
cmaloney(in particular)17:14
waldo323oh neat20:43
waldo323thanks20:43
waldo323it is helpful to see things all in one place20:44
=== goat-g is now known as greg-g

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!