[tt]
Hi, I would like to remove the "/bin/oops" entry from the comma separated input file. The script should be capable of removing "/bin/oops" regardless of its position in the string, examples are below.
Input file:
shells = /bin/oop,/bin/sh,/bin/bsh,/bin/ksh,/bin/tsh
shells = /bin/sh,/bin/bsh,/bin/ksh,/bin/tsh,/bin/oop
shells = /bin/sh,/bin/bsh,/bin/oop,/bin/ksh,/bin/tsh
Desired output:
shells = /bin/sh,/bin/bsh,/bin/ksh,/bin/tsh
shells = /bin/sh,/bin/bsh,/bin/ksh,/bin/tsh
shells = /bin/sh,/bin/bsh,/bin/ksh,/bin/tsh
Thanks in advance
[/tt]
Hi, I would like to remove the "/bin/oops" entry from the comma separated input file. The script should be capable of removing "/bin/oops" regardless of its position in the string, examples are below.
Input file:
shells = /bin/oop,/bin/sh,/bin/bsh,/bin/ksh,/bin/tsh
shells = /bin/sh,/bin/bsh,/bin/ksh,/bin/tsh,/bin/oop
shells = /bin/sh,/bin/bsh,/bin/oop,/bin/ksh,/bin/tsh
Desired output:
shells = /bin/sh,/bin/bsh,/bin/ksh,/bin/tsh
shells = /bin/sh,/bin/bsh,/bin/ksh,/bin/tsh
shells = /bin/sh,/bin/bsh,/bin/ksh,/bin/tsh
Thanks in advance
[/tt]