Apply patch from David Crane <dncrane@gmail.com> email: [opencog-dev] list command doesn't worth properly with -T <type> -n <name>
Apply patch from David Crane <dncrane@gmail.com> email:
[opencog-dev] list command doesn't worth properly with -T <type> -n <name>

list -t <type> -n <name> is supposed to display all atoms of a
particular type and with a particular name, and changing -t to -T is
supposed to include subtypes.

As it is now, the code assumes that there will only be one atom of a
particular type and with a particular name, which doesn't take into
account subtypes.

It also causes a segfault when the name is invalid (only when using
both -t and -n, not just -n, eg list -t ConceptNode -n <non-existent-
node-name> segfaults, but list -n <non-existent-node-name> does not)

Selameab/opencog,andre-senna/opencog,gavrieltal/opencog,williampma/atomspace,kim135797531/opencog,inflector/opencog,virneo/atomspace,gaapt/opencog,printedheart/opencog,TheNameIsNigel/opencog,eddiemonroe/opencog,zhaozengguang/opencog,williampma/opencog,Tiggels/opencog,inflector/atomspace,williampma/opencog,TheNameIsNigel/opencog,inflector/atomspace,anitzkin/opencog,ArvinPan/atomspace,williampma/atomspace,cosmoharrigan/opencog,tim777z/opencog,shujingke/opencog,misgeatgit/opencog,cosmoharrigan/atomspace,eddiemonroe/opencog,misgeatgit/opencog,gavrieltal/opencog,iAMr00t/opencog,AmeBel/atomspace,shujingke/opencog,sumitsourabh/opencog,rodsol/opencog,roselleebarle04/opencog,kinoc/opencog,ruiting/opencog,sumitsourabh/opencog,ArvinPan/opencog,sumitsourabh/opencog,AmeBel/opencog,TheNameIsNigel/opencog,misgeatgit/opencog,rohit12/atomspace,sumitsourabh/opencog,kinoc/opencog,williampma/opencog,ceefour/atomspace,kim135797531/opencog,jswiergo/atomspace,rodsol/atomspace,jlegendary/opencog,ruiting/opencog,MarcosPividori/atomspace,roselleebarle04/opencog,misgeatgit/atomspace,tim777z/opencog,AmeBel/opencog,TheNameIsNigel/opencog,prateeksaxena2809/opencog,MarcosPividori/atomspace,gavrieltal/opencog,williampma/opencog,rodsol/opencog,rTreutlein/atomspace,gaapt/opencog,UIKit0/atomspace,eddiemonroe/opencog,ceefour/opencog,yantrabuddhi/atomspace,anitzkin/opencog,zhaozengguang/opencog,inflector/atomspace,gavrieltal/opencog,Allend575/opencog,ruiting/opencog,ruiting/opencog,ArvinPan/opencog,printedheart/atomspace,yantrabuddhi/opencog,andre-senna/opencog,rTreutlein/atomspace,iAMr00t/opencog,printedheart/atomspace,TheNameIsNigel/opencog,jlegendary/opencog,Tiggels/opencog,Selameab/opencog,ArvinPan/atomspace,eddiemonroe/opencog,rTreutlein/atomspace,inflector/atomspace,williampma/opencog,rodsol/opencog,williampma/atomspace,Selameab/atomspace,ArvinPan/opencog,Allend575/opencog,zhaozengguang/opencog,inflector/opencog,tim777z/opencog,ruiting/opencog,kinoc/opencog,ArvinPan/atomspace,AmeBel/opencog,jlegendary/opencog,ArvinPan/opencog,iAMr00t/opencog,eddiemonroe/opencog,yantrabuddhi/opencog,roselleebarle04/opencog,inflector/opencog,AmeBel/atomspace,sumitsourabh/opencog,UIKit0/atomspace,gaapt/opencog,virneo/atomspace,rohit12/atomspace,MarcosPividori/atomspace,jswiergo/atomspace,gavrieltal/opencog,prateeksaxena2809/opencog,tim777z/opencog,roselleebarle04/opencog,virneo/opencog,rohit12/opencog,misgeatgit/opencog,kim135797531/opencog,misgeatgit/opencog,kim135797531/opencog,kinoc/opencog,AmeBel/opencog,rodsol/atomspace,ArvinPan/atomspace,eddiemonroe/atomspace,yantrabuddhi/atomspace,Tiggels/opencog,gaapt/opencog,Selameab/opencog,shujingke/opencog,ceefour/opencog,rohit12/opencog,roselleebarle04/opencog,gavrieltal/opencog,cosmoharrigan/opencog,jlegendary/opencog,tim777z/opencog,rodsol/opencog,AmeBel/atomspace,ceefour/opencog,Tiggels/opencog,jswiergo/atomspace,shujingke/opencog,printedheart/opencog,eddiemonroe/atomspace,shujingke/opencog,anitzkin/opencog,Selameab/atomspace,eddiemonroe/atomspace,Selameab/opencog,ceefour/opencog,cosmoharrigan/opencog,ceefour/opencog,jlegendary/opencog,prateeksaxena2809/opencog,ceefour/opencog,ruiting/opencog,yantrabuddhi/opencog,printedheart/opencog,zhaozengguang/opencog,yantrabuddhi/opencog,printedheart/opencog,cosmoharrigan/atomspace,inflector/opencog,printedheart/atomspace,Tiggels/opencog,misgeatgit/opencog,anitzkin/opencog,inflector/opencog,iAMr00t/opencog,rohit12/atomspace,inflector/opencog,virneo/atomspace,kim135797531/opencog,eddiemonroe/atomspace,cosmoharrigan/opencog,andre-senna/opencog,jlegendary/opencog,inflector/opencog,yantrabuddhi/opencog,yantrabuddhi/opencog,sanuj/opencog,inflector/atomspace,ArvinPan/opencog,misgeatgit/atomspace,anitzkin/opencog,Selameab/atomspace,prateeksaxena2809/opencog,virneo/opencog,andre-senna/opencog,eddiemonroe/opencog,sanuj/opencog,misgeatgit/opencog,Tiggels/opencog,shujingke/opencog,yantrabuddhi/opencog,misgeatgit/atomspace,Allend575/opencog,Allend575/opencog,ceefour/atomspace,gavrieltal/opencog,zhaozengguang/opencog,cosmoharrigan/opencog,sumitsourabh/opencog,Selameab/opencog,gaapt/opencog,yantrabuddhi/atomspace,kinoc/opencog,virneo/atomspace,sanuj/opencog,cosmoharrigan/atomspace,rohit12/opencog,virneo/opencog,cosmoharrigan/opencog,jswiergo/atomspace,printedheart/atomspace,printedheart/opencog,gaapt/opencog,rodsol/opencog,kim135797531/opencog,sanuj/opencog,misgeatgit/opencog,misgeatgit/atomspace,ceefour/atomspace,rohit12/opencog,eddiemonroe/opencog,iAMr00t/opencog,rodsol/opencog,eddiemonroe/atomspace,sanuj/opencog,tim777z/opencog,inflector/opencog,Allend575/opencog,UIKit0/atomspace,cosmoharrigan/atomspace,rohit12/opencog,rTreutlein/atomspace,jlegendary/opencog,ceefour/opencog,AmeBel/atomspace,AmeBel/atomspace,gaapt/opencog,sumitsourabh/opencog,misgeatgit/opencog,iAMr00t/opencog,printedheart/opencog,prateeksaxena2809/opencog,williampma/opencog,rTreutlein/atomspace,Allend575/opencog,roselleebarle04/opencog,anitzkin/opencog,UIKit0/atomspace,virneo/opencog,ArvinPan/opencog,anitzkin/opencog,prateeksaxena2809/opencog,rohit12/atomspace,AmeBel/opencog,virneo/opencog,andre-senna/opencog,rohit12/opencog,williampma/atomspace,yantrabuddhi/atomspace,TheNameIsNigel/opencog,sanuj/opencog,Selameab/opencog,yantrabuddhi/atomspace,ceefour/atomspace,roselleebarle04/opencog,Allend575/opencog,virneo/opencog,MarcosPividori/atomspace,Selameab/atomspace,misgeatgit/atomspace,zhaozengguang/opencog,andre-senna/opencog,andre-senna/opencog,prateeksaxena2809/opencog,rodsol/atomspace,kim135797531/opencog,kinoc/opencog,AmeBel/opencog,kinoc/opencog,shujingke/opencog,virneo/opencog,rodsol/atomspace,ruiting/opencog,AmeBel/opencog