Get data from table POSTE

Post Reply
User avatar
kaseOga
Member
Posts: 9
Joined: 04 Mar 2010 06:38

Get data from table POSTE

Post by kaseOga » 21 Nov 2012 14:34

Hi guys!

I have this code:

cdmao;(echo "SELECT nulog FROM POSTE WHERE numan='5512204';"|cuser|grep "\--"|grep -v nulog|cut -c5-11;)|while read poste_id;do echo "SELECT key_id,genrtou,chiftp, sonsurson, mnemo, order_mla, key_mla FROM KEYBOARD WHERE poste_id='$poste_id';"|cuser|grep -v key_id|grep -v mnemo|grep -v Hit|tr -s ' ';done

with this show all keyboard from 1 mcdu, but i want 1 line x register, how to do ???

thank you!!

User avatar
tgn
Member
Posts: 768
Joined: 30 Dec 2009 17:59
Location: Germany

Re: Get data from table POSTE

Post by tgn » 22 Nov 2012 15:54

did you mean...

you'll want the output of only 1 key from this mcdu?

regards...
--- back to basics... focus your eyes to the essential things... ---

Post Reply

Return to “Linux tricks”