srivsn
1
hi
i want to delete a particular character in file.
example
file name:abcsample
abc=bbbqw3/
hidh=ajjqiwio4/
xyx=hakjp/
........../
......./
i want to delete that special character (/) in abcsample file.please give the required commands for my requirement.
thank you
using awk
awk -F '/' '{print $0}' abcsample
You can open the file in VI and from the command mode type %s/\///g and enter. The special character will be replaced by null char.
The trick is to escape the special character (here done by typing a leading back slash before the special char).