Reputation
19,203
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
21 55
Impact
~1.3m people reached

May
2
comment Evaluation of find ( -exec )
BTW, you might want to try it with this grep command instead: ... -exec grep -E -q '#! *(/usr)?(/local)?/bin/([bd]ash|[zk]sh|t?csh|awk|sed|perl)' ... (note: I removed the pattern that matches /usr/bin/grep because that makes no sense, grep is not a scripting language. Added dash, zsh, ksh, tcsh/csh, sed and perl instead).
May
2
comment Is there a Unix equivalent of the Windows environment variable PATHEXT
so, change your habit. get into the habit of always typing the full name, even on windows. 3 extra chars aren't a big deal. IIRC, CMD.EXE has some primitive filename completion anyway.
May
2
awarded  Enlightened
May
2
awarded  Nice Answer
May
2
reviewed Close precise linux video / youtube locks up why?
May
2
reviewed Close Script too slow ? Any particular reason?
May
2
reviewed Close DRBD - 'node1' not defined in your config (for this host) - Error when setting Primary
May
2
reviewed Close How to know the depth of a path?
May
2
reviewed Close Describe Linux Project Setup and File Purposes
May
2
reviewed Close Understand the meaning of `$_`
May
2
reviewed Close Debian apt-get install asks for the DVD Binary
May
2
reviewed Leave Closed Unable to run Virtualbox properly on Kali Linux Rolling because of KERN_DIR error
May
2
reviewed Close Best installation instructions for Linux Mint for total Linux newbie?
May
2
reviewed Approve GRUB confuses kernels/initramfs of Ubuntu and Arch Linux installation
May
2
awarded  awk
May
2
comment How do I sort words by syllable count?
also FYI, I just spotted this: stackoverflow.com/questions/405161/…
May
2
comment How do I sort words by syllable count?
FYI, a CPAN search says there are 993 modules matching Lingua::, some of them may be of use to you: search.cpan.org/…
May
2
comment How do I sort words by syllable count?
BTW, this script highlights one of the benefits of learning perl - there are CPAN modules to do pretty nearly anything you can think of, so many programs that would be very complicated to write in other languages are as trivial as this to write in perl - because much of the work has already been done by the module authors....all you have to do is use the tool(s) they provide. Often, the hardest part is finding the module that does what you need - in this case, it took about 30 seconds to do a google search for perl count syllables
May
2
revised How do I sort words by syllable count?
removed regular-expression tag
May
2
comment How do I sort words by syllable count?
you can accept this answer and mark it as "answered" by clicking on the big tick mark if it answered your question.