For those that use Cygwin on Windows, Mike Hostetler has a post detailing how to use Cygwin editors with It’s All Text!
Read More
Subscribe
-
Recent Posts
Alter Egos
-
I.M. Egos
-
Social Egos
- Advogato
- BoardGameGeek
- Bloglines
- Del.icio.us
- Flickr
- i use this
- Last.FM
- MusicBrainz
- Slashdot
- Spore
- StumbleUpon
- Technorati
- Wii: 5937 3406 9123 0632
- YouTube: TheDoctorWhat
-
Development Egos
-
Donations
-



bash: Checking a port number
Image by Manfred Heyde.
Ever needed to check if a given port number is valid in bash? It’s harder than it looks because if you accept any input from the user, you can’t use
declare -isince it spews errors and aborts functions if the input is malformed.Read More »