Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

tr

Snippets to use tr command

How to strip multiple spaces to one using sed?

First output:

ls /bin | grep kill
-rwxr-xr-x 1 root wheel 134352 Dec 2 2022 kill

Solution:

ls /bin | grep kill| tr -s ""

Output:

-rwxr-xr-x 1 root wheel 134352 Dec 2 2022 kill

About

Snippets to use tr command

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors