Skip to content

Gary Sieling

Software Engineer

  • Machine Learning
  • Full Text Search
  • Data Science
  • Scraping
  • Postgres
  • DevOps
  • AWS
  • Talks

Tag: tr

Posted on 2013-04-24

bash – md5sum – remove trailing newlines

The following code will remove trailing line breaks that come from the md5sum command:


echo -n "test" | md5sum | tr -d '\n'

Post Views: 0

  • Thought Experiments
  • Proof of Concepts
  • Book Reviews
  • Projects
  • Essays
  • Talks
  • Programming Techniques
  • Javascript
  • Python
  • Prolog
  • Scala
  • Java
  • PHP
  • C#
  • R

Recent Posts

  • The accelerant effects of AI
  • Allow a CircleCI self-hosted machine runner to run jobs for more than 5 hrs
  • Import a folder of CSVs into a single Google Sheet (1 per tab)
  • R Code to summarize Dept of Ed, Civil Rights Data by school district / LEA
  • Export Census ACS5 data by GEOID/block group to CSV in R
Proudly powered by WordPress