the problem is that I cannot put the complete command on a line with SED, I had already done it but with those file it does not work:
my exemple :
Documents/time/text1 //2X slash + 2 words to remove !!
Commun/text2 //1X slash to remove + 1 words to remove
Current/text3 //1X slash to remove + 1 words to remove
Why does this code not work in line ?
sed 's/Documents//g' | sed 's/time//g' | sed 's/Commun//g' | sed 's/Current//g' | sed 's/Current//g' | sed '//s|/||' | sed '//s|/||' tracklist.txt > newtracklist.txt
Asked by Allan Tori
(47 rep)
Feb 27, 2024, 08:00 PM
Last activity: Mar 24, 2024, 10:06 PM
Last activity: Mar 24, 2024, 10:06 PM