You can use sed addresses:
sed '19,33s/google/facebook/g' file
This will run the substitution on lines between and including 19 and 33.
The form of a sed command is as follows:
[address[,address]]function[arguments]
Where 19,33
is the addreses,
s
ubstitute is function
and g
lobal is the argument
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…