Help with escape in code

i want to add the code below to the end of every line in file4
im using this awk command to do this

awk '{print $0"txt-to-print-here"}' file4

its not working because i think i need to escape the code
please can someone show the right way
thanks

 | sed 's~http*:/https:///~~g' > file1 ;grep -o 'https://ed[^?]*' file1 > file2 ;awk '0==x[$1 FS $2]++' FS="," file2 > file3 ;sed 's/playlist.m3u8/chunklist_w2053889821_b1148000.m3u8/g' file3 > file4

Hello bob123,

If you are asking about the awk command then I don't think so you need not escape anything there, because you have used double quote " so it shouldn't be an issue.
Now coming onto your command, I am pretty sure that could be written in more easy way if you could show us the sample Input_file and expected output too, let us know on same.

Thanks,
R. Singh

hi
RavinderSingh13

thanks for reply
the code works fine as it is

i just want to add that code to the end of every line in another file
can anyone help
thanks

Please become accustomed to provide decent context info of your problem.

It is always helpful to support a request with system info like OS and shell, related environment (variables, options), preferred tools, adequate (representative) sample input and desired output data and the logics connecting the two, and, if existent, system (error) messages verbatim, to avoid ambiguities and keep people from guessing.