Hello people !
After one year of using linux I just began to feel confortable with this OS !!! So I thought it is time to start playing a little with all these linux tools
So my problem is that I got stuck with these sed patterns ! My extact problem is that I want to search into a file and find the lines that begin with a W and replace them with a 10char variable which is defined previously in my script ! But I dont want be replaced with 10chars in a row but insteed of it I want my output format to be 2 chars space 2chars space 2chars space etc !!! I guess my sed command would be :
It is the $1 that I want to output using the format described above ! I want from you guys , if possible , to guide me for doing this using sed and awk (using sed is my main target) ! Thank you very much