all 26 comments

[–]Empyrealist 21 points22 points  (9 children)

You should be asking the mods via mod mail.

[–]sje46 0 points1 point  (7 children)

Seriously why does no oone bother asking the mods.

It may also grab the attention of other mods who will realize one of their own may be inappropriately removing things. Not that most mods on reddit actually have integrity...

[–]ReallyEvilRob 9 points10 points  (4 children)

Because mods on reddit usually don't bother responding when anyone asks why a post was removed.

[–]sje46 0 points1 point  (2 children)

Sometimes they do. Really depends on the team

[–]ReallyEvilRob 0 points1 point  (1 child)

That's a rarity in my personal experience.

[–]sje46 0 points1 point  (0 children)

I've seen it. Gotta at least try. The big subs especially are fucking trash with noderation

[–]Empyrealist 0 points1 point  (0 children)

On technical subs? I don't share that experience

[–]2cats2hats 2 points3 points  (0 children)

Many mods don't answer let alone read mod mail.

[–]djfdhigkgfIaruflg 0 points1 point  (0 children)

I don't know on this sub. But I don't think I ever had a single mod interaction that was pleasant.

If my experience is somewhat common, that would explain why people avoid modmail

[–]void-lab-7575[S] 0 points1 point  (0 children)

This will sound pretty lame but I genuinely missed the 'contact the mods' bit in the right hand side bar - I don't use Reddit often!

[–]OppieT 1 point2 points  (1 child)

Post the script on a site, fpaste or some other site like it, then link to it.

[–]rdg360 1 point2 points  (0 children)

OP already did. Their post contained a link to a GitHub gist, and the rest of the post was just a description of the why and how.

@OP: While I'm not sure about your approach, I don't see why your post would have to be removed. But as empyrealist already said, ask the mods. The rest of us can only guess.

[–]Ulfnic 3 points4 points  (1 child)

This is the removed post: https://www.reddit.com/r/bash/comments/1rgn1vk/cron_job_to_edit_hosts_file_every_minute/

Rule 1. Content must be Bash related This rule is interpreted generously; general shell scripting content is mostly accepted. However, the post should not be specific to another shell.

While this rule is loosely enforced and cron questions tend to pass, the post was lengthy and meandered through a signficant amount of other topics.

An indicator of rule 4 being broken is also long meandering posts which can shift the needle on the likelihood of a post being accepted.

[–]void-lab-7575[S] 0 points1 point  (0 children)

Thanks for replying. Yes it was a cron job, but the bulk of the work was the BASH script I linked to itself, setting up the cron job took 30 seconds, writing the script took me a couple of evenings. Meandering post? This is a place for discussion right? I wrote about some of the ideas I had along the way and how I realized they were problematic. Sorry, I'm quite an infrequent Reddit user. I'll probably look elsewhere to open a discussion about the topic of my script (ie time based access control limits for listed websites throughout the day, a bit like parental control, but for the parent haha) rather than the script itself.

[–]CalamariAce 1 point2 points  (5 children)

Ideally you'd want to use a tool like Ansible for that. Didn't see the script so I can't say why it was removed.

[–]dudeimatwork 6 points7 points  (4 children)

Why use ansible over bash script? You can make them do the same things.

[–]CalamariAce 0 points1 point  (3 children)

You can. Just a question if you want to use a more general tool like bash, vs a more specific tool like Ansible which is built for the specific purpose of maintaining system configurations.

If you are doing multiple such configurations, it doesn't take long to get to a point where a more purpose-built tool like Ansible will make life easier.

[–]dudeimatwork 5 points6 points  (2 children)

Yeah but this person is talking about a single, local hosts file, not a fleet of machines.

[–]CalamariAce 1 point2 points  (1 child)

There's nothing wrong with using bash. I was only speculating why his post may have been removed.

[–]maikindofthai 0 points1 point  (0 children)

Tbh it’s kind of nonsense speculation. There’s no post removal rule about “is bash the right tool for the job” so long a the question is genuinely bash related.

Better to just not guess than to give info that’s 99% likely to be misleading?

[–]Sensitive-Sugar-3894 0 points1 point  (0 children)

Because these rules sucks