I was testing the sed utility with a txt file with a single line
PJL COMMENT PREPRINTINFO : COPIES=1
I used the following pattern but is not replacing the line within the file. but it is not really the line.
H:\sed.exe -e "s/@PJL COMMENT PREPRINTINFO : COPIES=1/@PJL COMMENT
PREPRINTINFO : COPIES=2/g" H:\test.txt H:\test.txt
Please help.
What do the
@mean? Leave them out.And don’t replace the file on it selve.