Search Results

Search: Posts Made By: Hammadi dali
6,193
Posted By Hammadi dali
Hi To replace the first n characters or spaces...
Hi
To replace the first n characters or spaces in the beginning of each line, you can use the command sed (http://linux.die.net/man/1/sed)

Example:

sed 's/^ /zzz/g' ./test.log >...
Showing results 1 to 1 of 1

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