[solved] Set and clear bits in a bash script

2013-09-23 Thread Ralf Mardorf
On Mon, 2013-09-23 at 14:19 -0300, Beco wrote: > On 23 September 2013 09:43, Ralf Mardorf wrote: > > Hi, > > > > is there a way to set and clear bits of a byte in a bash script, by > > using "or" and "and" or has this to be done by an annoying workaround? > > > > I don't find an answer, when I sea

Re: Set and clear bits in a bash script

2013-09-23 Thread Beco
On 23 September 2013 09:43, Ralf Mardorf wrote: > Hi, > > is there a way to set and clear bits of a byte in a bash script, by > using "or" and "and" or has this to be done by an annoying workaround? > > I don't find an answer, when I search the Internet. > > Regards, > Ralf > Hi Ralf, Try this [1

Set and clear bits in a bash script

2013-09-23 Thread Ralf Mardorf
Hi, is there a way to set and clear bits of a byte in a bash script, by using "or" and "and" or has this to be done by an annoying workaround? I don't find an answer, when I search the Internet. Regards, Ralf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of