Skip to primary content
Skip to secondary content

GotITSolutions.org

Get Information Technology Conjecture…

GotITSolutions.org

Main menu

  • Home
  • About

Category Archives: Perl

Perl code to remove blank lines from a text file

Posted on February 21, 2010 by rbocchinfuso
Reply

Remove blank lines from a text file with a single line of perl:

1
perl -ni.bak -e ’s/^\s*$//’ filename

 

Posted in Perl, Source | Leave a reply

Who am I?

Who am I?

Free because of my love for reflection and my ability to transform regret into reinvention. Joy is derived through the eyes of those I impact. Everything is up for debate; I want to know more. Looking to leave this life a totally different person than how I started it; a better person.

Categories

Recent Posts

  • Securing Graylog behind a Caddy reverse proxy
  • Quatantorial Volume 5: Savoring the Introvert Advantage
  • Quarantorial Volume 4: “Thoughts on Knowledge 2020 and a rapidly evolving human and enterprise condition.”
  • Quarantorial Volume 3: “Act As If”
  • Quarantorial Volume 2: 21st-century knowledge workers, motivational theory and working from wherever.

GitHub Gists

  • Windows Service and Auth Validator
    Created:12/1/2021
  • CC Digital Innovation Developer Roles, The Real Deal
    Created:7/2/2021
  • OpsGenie to ServiceNow Automated Action
    Created:5/11/2021
  • Simple Hubot CoffeeScript to fire other local commands
    Created:8/24/2018
  • PHP Slack CURL Post Snippet
    Created:8/24/2018

See my GitHub profile

Tweet, Tweet

Twitter feed is not available at the moment.

Proudly powered by WordPress