The Doctor What

Some men are discovered; others are found out

Main menu

Skip to content
  • About
  • Résumé
  • Contact
  • Reward/Donate

Monthly Archives: July 2010

Post navigation

bash: Checking a port number

Posted on 2010-07-16 by docwhat

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 -i since it spews errors and aborts functions if the input is malformed.

Continue reading →

Posted in My Projects | Tagged bash, programming, shell | Leave a comment |

IAT on Cygwin

Posted on 2010-07-03 by docwhat

Image by Tjeerd Wiersma

For those that use Cygwin on Windows, Mike Hostetler has a post detailing how to use Cygwin editors with It’s All Text!
Continue reading →

Posted in My Projects | Tagged cygwin, It's All Text!, Windows | Leave a comment |

Post navigation

Subscribe

  • Subscribe via RSS
  • Subscribe via eMail
sign

Recent Posts

  • Chocolatatum meum butyro vecordi tuo contaminavisti!
  • PSA: Turn on 2-step verification in Google
  • TextMate 2 Articles
  • Fix git-gui’s “Spell checking is unavailable” dialog
  • Microsoft makes .txt files dangerous

Meta

  • Register
  • Log in
Creative Commons License
Copyright (c) 1993–2012 Christian Höltje (except where noted)