I wget a page that ends up with multiple lines as below:
Is there a sed expression, or other, to delete all '[??]' and '[?]'
i.e, brackets with either single or two numeric characters
...
[34]Job [35]1960053 [36]OTHER [37]Abc 04-12-2012 [38]Notes [39][0]
...
desired:
Job 1960053 OTHER Abc
(Writing from phone sp can't test)
It should be something like:
sed -r -e 's/\[[0-9]{1,2}\]//g'
On Jul 21, 2012 3:19 PM, wrote:
> I wget a page that ends up with multiple lines as below:
>
> Is there a sed expression, or other, to delete all '[??]' and '[?]'
> i.e, brackets with either single or
On Sat, July 21, 2012 3:40 pm, Amos Shapira wrote:
> (Writing from phone sp can't test)
> It should be something like:
> sed -r -e 's/\[[0-9]{1,2}\]//g' On Jul 21, 2012 3:19 PM,
I got this:
Job 1960053 OTHER Abc 04-12-2012 Notes
seems pretty close to what I wanted !
thanks !!
so, if I chang
On 21/07/12 15:40, Amos Shapira wrote:
> (Writing from phone so can't test)
> It should be something like:
> sed -r -e 's/\[[0-9]{1,2}\]//g'
Now that's just showing off.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mail
Hehe :)
I didn't specify *where* I was sitting when I wrote that answer...
On Jul 21, 2012 4:58 PM, "Jeremy Visser" wrote:
> On 21/07/12 15:40, Amos Shapira wrote:
> > (Writing from phone so can't test)
> > It should be something like:
> > sed -r -e 's/\[[0-9]{1,2}\]//g'
>
> Now that's just show