EN VI
Posts (0)
Questions (1)
2024-03-14 23:30:05
You can use sed 's/\b\([01]\+\)b\b/%\1/g' file See the online sed demo: #!/bin/bash s=' 00018342 0000 dc.b 11010101b' sed 's/\b\([01]\+\)b\b/%\1/g'
Tags: sed binary transform

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login