Search Results

Search: Posts Made By: TXTad
9,239
Posted By TXTad
I have the following file: # Some comments ...
I have the following file:

# Some comments
# S'more comments

[daemon]
TimedLoginEnable=true
TimedLoginDelay=10
TimedLogin=user1
# and maybe some other, unpredictable lines that I don't...
9,239
Posted By TXTad
How to replace a range of text with sed or awk?
Howdy!

I'm trying to automate editing of a configuration file (custom.conf for GDM). I need to find every line between a line that starts with "[daemon]" and the next line that starts with "["....
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy