Horje
sed replace number Code Example
sed replace number of variable length
Just use one of following commands for replacing a number of:
sed "s/[0-9]//" f.txt	#One single digit as 1
sed "s/[0-9]\+//" f.txt #Further digits as 837, specifying match repetition "\+"
sed "s/[0-9\+\.[0-9]\+]//" file.txt #Float type with decimals
sed replace number
Just use one of following commands for replacing a number of:
sed "s/[0-9]//" f.txt	#One single digit as 1
sed "s/[0-9]\+//" f.txt #Further digits as 837, specifying match repetition "\+"
sed "s/[0-9]\+\.[0-9]\+]//" file.txt #Float type with decimals




Shell

Related
docker image rm image without tag Code Example docker image rm image without tag Code Example
git switch branch Code Example git switch branch Code Example
undo most recent commit Code Example undo most recent commit Code Example
Bash colour codes Code Example Bash colour codes Code Example
kill process unix Code Example kill process unix Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8