Skip to main content
added 33 characters in body
Source Link
terdon
  • 102.8k
  • 2
  • 74
  • 136

First of all, if you got one downvote, all that means is that one person felt the question should be downvoted. It doesn't in any way imply anything at all about "the community". It only shows the opinion of one, single, non-representative user.

That said, I admit your answer is really kind of bad in that it has a few dangerously bad practices in there. You are parsing ls and you are using shell variables unquoted. So I can understand the downvote.

But when you get a downvote, you should just think of ways of improving your post, don't immediately jump to deletion. Yes, you can delete it, if you like, but it would be much better to improve it instead. I have posted a safer solution,

First of all, if you got one downvote, all that means is that one person felt the question should be downvoted. It doesn't in any way imply anything at all about "the community". It only shows the opinion of one, single, non-representative user.

That said, I admit your answer is really kind of bad in that it has a few dangerously bad practices in there. You are parsing ls and you are using shell variables unquoted. So I can understand the downvote.

But when you get a downvote, you should just think of ways of improving your post, don't immediately jump to deletion. Yes, you can delete it, if you like, but it would be much better to improve it instead.

First of all, if you got one downvote, all that means is that one person felt the question should be downvoted. It doesn't in any way imply anything at all about "the community". It only shows the opinion of one, single, non-representative user.

That said, I admit your answer is really kind of bad in that it has a few dangerously bad practices in there. You are parsing ls and you are using shell variables unquoted. So I can understand the downvote.

But when you get a downvote, you should just think of ways of improving your post, don't immediately jump to deletion. Yes, you can delete it, if you like, but it would be much better to improve it instead. I have posted a safer solution,

Source Link
terdon
  • 102.8k
  • 2
  • 74
  • 136

First of all, if you got one downvote, all that means is that one person felt the question should be downvoted. It doesn't in any way imply anything at all about "the community". It only shows the opinion of one, single, non-representative user.

That said, I admit your answer is really kind of bad in that it has a few dangerously bad practices in there. You are parsing ls and you are using shell variables unquoted. So I can understand the downvote.

But when you get a downvote, you should just think of ways of improving your post, don't immediately jump to deletion. Yes, you can delete it, if you like, but it would be much better to improve it instead.