@h4rmony
with all due respect, I would suggest that the manner in which you try to argue would be a little different than this:
"you're proving to me that 5+5=7, while I am trying to showing you that 3+3=6"
Diminishing your opponent doesn't empower your argument, it's does the opposite dialectical job, for an independent onlooker.
every answer given to you has been attacked and I think it is ...
So, I am attacking it? And other just gently and friendly showing tha I was wrong? Again, please look at the difference of tones, you're using.
TheVogon was again using some cryptic language, I was making remarks on that. If he/she suggested how I could protect the signature from being compromised after I offered to install as a system utility, I simply said that you would be done with the whole system. Is it an attack. Or when it was pointed out how portable and universal S, it can be used for no less than 2 systems! I pointed out it was a joke on potability. Again it was an attack....
find ./ -exec ls -l {} \; | awk '{print $3}' | grep . | sort -u
instead of:
find . -printf "%u\n" | awk '!match(str," "$1){str=str" "$1;print $1 }'
You're forgetting that the final was
find . -printf "%u\n" | sort -u
I also offered AWK because you seemed fixated on AWK in the original post I was responding to and used redundant grep filtering. So you were using 2 redundant pipes plus a redundant command ls instead of just reading man of find.
You are confusing Bash with GNU Utils. find is not "built into Bash",
No I don't, I never said that, I only likened PS cmd-lets to Bash built-ins, get it now?
it's a program and the reason Uffe called it a monster is because it violates seven ways to Sunday the UNIX principle of do one thing well.
How so? It only specializes in finding files and printing information on that. While PS is a jack of all trades, right? Say find is independent of the shell, you can use with pretty much any POSIX shell, while you cannot use dir cmdlet with GNU Bash, on the other hand...
It contains its own print formatting language for example.
It's printf, come-on, it's not "its own" language, escape literals are the same as everywhere, other formatting literals can be looked up via man or info.