Search Results

Search: Posts Made By: keb0x80
1,473
Posted By keb0x80
If you're using vim you can replace the slashes...
If you're using vim you can replace the slashes with another character. I'm not sure in other versions of vi though.
1,473
Posted By keb0x80
:9333,35000s/ramamama/ram cow welcome/g
:9333,35000s/ramamama/ram cow welcome/g
19,303
Posted By keb0x80
Hi jao_madn, Is the output from this...
Hi jao_madn,

Is the output from this pipeline what your looking for?


dd if=/your/binfile 2>/dev/null | hexdump -C -s 512 -n 512
2,832
Posted By keb0x80
thomasraj87, try it with tr instead: tr...
thomasraj87,

try it with tr instead:

tr -s ' ' '-' < /tmp/1.txt
2,832
Posted By keb0x80
thomasraj87, Try the '-r' option instead of...
thomasraj87,

Try the '-r' option instead of '-E'
2,832
Posted By keb0x80
Hi thomasraj87, You could use the following...
Hi thomasraj87,

You could use the following sed command:

sed -E 's/ +/-/g' /tmp/1.txt

Welcome to the UNIX and Linux Forums. Please use code tags. Video tutorial on how to use them...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 02:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy