Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Replacing words in a text document using the sed command

I'm not sure I understand your question.
But good overview of replacing text with sed seems to be for example here:
How can I replace a string in a file(s)?
Artiom008

Replacing words in a text document using the sed command

Good day! Please help me, I need a command with which I can directly in WinSCP replace the words I need with others using the sed command, for example, to execute a command like sed on the txt I need
sed "s|.*\/Videos\/|fresh\/Videos\/|"

that is, I run the command and it replaces inside the document as specified in the sed command.