Search Results

Search: Posts Made By: pereyrax
9,501
Posted By pereyrax
Oh, ok. So if cron.allow exists then cron.deny is...
Oh, ok. So if cron.allow exists then cron.deny is simply ignored.

How does that work? Is it like a "shortcutted" OR? Something like "great! I found cron.allow, I won't even bother to check for...
9,501
Posted By pereyrax
How are cron.allow and cron.deny read?
Hi, all!

I was working on my Debian, minding my own business but then I wanted to see what happened if the same user was included on both cron.allow and cron.deny :p

I would have bet that...
1,588
Posted By pereyrax
Great! I'm guessing the comma in the other case...
Great!
I'm guessing the comma in the other case is representative of the whole line itself.
Got my hands on some documentation, so I'm off to RTFM :P

Thanks!!
1,588
Posted By pereyrax
Alister, thanks! That's really helpful. I need to...
Alister, thanks! That's really helpful. I need to get my hands on a thorough sed manual
1,588
Posted By pereyrax
Oh, I see! Thank you very much!! I...
Oh, I see! Thank you very much!!

I misunderstood how sed and '/FOO/,/BAR/p' work.

In a multiple line file, I get all the lines between the patterns, as expected, using the -n flag, without any...
1,588
Posted By pereyrax
sed behaving oddly, repeats lines
Hi, all.

Here's the problem:


sed '/FOO/,/BAR/p'


That should print anything between FOO and BAR, right?

Well, let's say I have file.txt that contains just one line "how are you...
Showing results 1 to 6 of 6

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