[colug-432] Tutorials

Steve VanSlyck s.vanslyck at postpro.net
Thu May 14 17:23:10 EDT 2015


Haha. I found it this afternoon, printed it out and it's sitting on the seat next to me in my car right now.

On May 14, 2015 5:20:39 PM EDT, Peter Kukla <fruviad at yahoo.com> wrote:
>I've seen others recommend sed, but I haven't seen any recommendations
>for the following tutorial yet:
>http://www.grymoire.com/Unix/Sed.html
>
>Hope I'm not duplicating someone else's answer, but that's an excellent
>resource.
>
>-peter
>
>      From: Steve VanSlyck <s.vanslyck at postpro.net>
> To: colug-432 at colug.net 
> Sent: Thursday, May 14, 2015 2:45 PM
> Subject: [colug-432] Tutorials
>   
>I have a file,
>
>/path/to/file_config
>
>which is X lines long and one of the lines, location unknown, says,
>
>Setting=No
>
>What I want to do is write a simple bash script that will open that
>file, locate that line, change it to a comment, and then insert another
>line below it, with the end result looking like this:
>
># Setting=No
>Setting=Yes
>
>Imagine I am your willing but unlettered intern. You're willing to
>teach me but would prefer, obviously, that I teach myself. Always
>better that way.
>
>Is there a tutorial that you would recommend?
>
>
>
>
> 
>_______________________________________________
>colug-432 mailing list
>colug-432 at colug.net
>http://lists.colug.net/mailman/listinfo/colug-432
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>colug-432 mailing list
>colug-432 at colug.net
>http://lists.colug.net/mailman/listinfo/colug-432
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20150514/0e7f13f4/attachment.html 


More information about the colug-432 mailing list