Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Removing last character of a specific line from a file

$
0
0
Hello guys,

I would need to remove the last character ")" of a specific line. This can be from any line. Your help is appreciated. Below is the line.

Code:

HOSTNAME=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP))
Please help.

Viewing all articles
Browse latest Browse all 16232

Trending Articles