Search Results

Search: Posts Made By: mjmtaiwan
4,254
Posted By mjmtaiwan
Ah.... \S = any non-whitespace character! ...
Ah.... \S = any non-whitespace character!

Super... thank you very kindly!
4,254
Posted By mjmtaiwan
Perl - Title Case after apostrophe
I've got:

$string =~ s/(\w+)/\u\L$1/g;

Which capitalizes each word in the string. The problem is if I have a string with an apostrophe the first letter after it gets capitalized as well.

So...
8,246
Posted By mjmtaiwan
Perl - bad interpreter: No such file or directory
Here is a puzzler.

To start, let me say that I've done a search on this issue and it is definitely not related to line endings being encoded in windows returns.

I get this error when I run SOME...
112,173
Posted By mjmtaiwan
I needed to get the local IP of devices getting...
I needed to get the local IP of devices getting their addresses from DHCP by mac address.

Unfortunately, the file was long and devises had multiple IPs. Figuring that the last instance of the IP...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy