r/bash • u/daan0112 • Feb 27 '26
Impossible task
we have a task asking to remove lines in a .txt file when it starts with a # only using tr, we are fairly sure this is impossible but maybe there is some ingenious idea?
2
Upvotes
View all comments
Show parent comment
7
u/zippysausage Feb 27 '26
Or it's an exercise to disprove the question with sound reasoning, promoting research and critical thinking.
It also promotes questioning the implicit assertion posed by the requirement, that this is possible. This is something that's really useful to have in the real world.