Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

bash – md5sum – Remove Trailing Newlines

DZone's Guide to

bash – md5sum – Remove Trailing Newlines

· DevOps Zone ·
Free Resource

Download the blueprint that can take a company of any maturity level all the way up to enterprise-scale continuous delivery using a combination of Automic Release Automation, Automic’s 20+ years of business automation experience, and the proven tools and practices the company is already leveraging.

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

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

Download the ‘Practical Blueprint to Continuous Delivery’ to learn how Automic Release Automation can help you begin or continue your company’s digital transformation.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}