Hi I am working on a bash script and would know how to use cut or sed to remove
(F/.M/d h) from a text file.
Before
1 text to save (F/.M/d h)
after
1 text to save
Thanks in advance
Hi I am working on a bash script and would know how to use cut or sed to remove
(F/.M/d h) from a text file.
Before
1 text to save (F/.M/d h)
after
1 text to save
Thanks in advance
echo '1 text to save (F/.M/d h)' | sed 's/(.*)//'
Thanks a million
Can you please explain the sed 's/(.)// command what (,) is doing in this..
Cheers
( - left parenthesis followed by
.* - any character '.' repeated 0 or more time '*' followed by
) - right parenthesis
Thanks alot...