Skip to main content

Remove backslashes from a text file editing removing \ through aline

I have

Input:
NISHA =\455

 NISHA =\455  

Output
NISHA = 455:

 NISHA = 455

I want to remove \\ from output

 . I am usingtried to use command sed "s/[]//g" Psed "s/[\]//g" P but it is not working and it flags an error

"character found after backslash is not meaningful ":

Regards Yisha

character found after backslash is not meaningful

file editing removing \ through aline

I have

Input:
NISHA =\455

Output
NISHA = 455

want to remove \ from output

  I am using command sed "s/[]//g" P but it is not working it flags an error

"character found after backslash is not meaningful "

Regards Yisha

Remove backslashes from a text file

I have

Input:

 NISHA =\455  

Output:

 NISHA = 455

I want to remove \ from output. I tried to use command sed "s/[\]//g" P but it is not working and it flags an error:

character found after backslash is not meaningful
Source Link
yisha
  • 929
  • 4
  • 11
  • 16

file editing removing \ through aline

I have

Input:
NISHA =\455

Output
NISHA = 455

want to remove \ from output

I am using command sed "s/[]//g" P but it is not working it flags an error

"character found after backslash is not meaningful "

Regards Yisha