1
I am using a shell script to do HCIDUMP and using some filters to write to a file. With the following command, the destination file is empty.
hcidump -a l2cap | grep -v -e 'CAP' -e 'HCI' > onlystringsrecieved.txt
Using the same command without redirecting the output to a file, works normal at the Lxterminal command prompt.
hcidump -a l2cap | grep -v -e 'CAP' -e 'HCI'
you have write permission to create "onlystringsrecieved.txt" ? which error message appears?
– JJoao