01-29-2020
Hi Wise,
I moved your code to another new topic as it was not directly related to the topic of networking, BLE, NB-IoT or ArduinoBlue where it was
originally posted.
Thanks
This User Gave Thanks to Neo For This Post:
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am interested in knowing if anyone out there has been using the BSD UNIX that underlies
MacOS X. Is this an "industrial strength" version of UNIX? Can I run X-Windows on such
a machine? How about TeXing, pythoning, PERLing or using other useful UNIX goodies
near and dear to my shrunken... (1 Reply)
Discussion started by: ncmathsadist
1 Replies
2. UNIX for Dummies Questions & Answers
1) How can I stop Vuze from reporting the following error: "Too many open files" ?
2) What directory do I need to be in to effectively utilize this command:
sudo bash -c 'ulimit -n 8192; sudo -u username ./azureus' ?
3) Is this the maximum number of files that I can allot to Vuze on OS X... (1 Reply)
Discussion started by: JFraser1
1 Replies
3. UNIX for Beginners Questions & Answers
Dear all,
I use awk quite a bit for data wrangling ... today I find weird behavior that I cannot wrap my head around.
if I execute the following command (simplified to illustrate the behavior ... nothing to do with the real command)
bash-3.2$ awk... (3 Replies)
Discussion started by: comm|getline
3 Replies
4. UNIX for Beginners Questions & Answers
why,just beacuse that its the bottom layer uses a small amount of bsd code? In my opinion, macos and Unix are completely different. The directories are long directory structures. For example, /application, /system, /user, /volumes, etc. are completely different from the traditional /bin/ /sbin... (5 Replies)
Discussion started by: malaizhichun
5 Replies
5. OS X (Apple)
Interestingly Apple has decided to switch the default shell for new users from bash to zsh in MacOS Catalina (10.15)
Use zsh as the default shell on your Mac - Apple Support
Another interesting fact is that Catalina also comes with /bin/dash (5 Replies)
Discussion started by: Scrutinizer
5 Replies
6. OS X (Apple)
Hi all...
This was the original code I created to expand a terminal on the fly using Python 2.6.x to the now 3.8.0 without modification under OSX 10.7.5.
I had no idea at the time that the MBP terminal could be full screen until here:... (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT DEBIAN
swiss::ccs
SWISS::CCs(3pm) User Contributed Perl Documentation SWISS::CCs(3pm)
Name
SWISS::CCs
Description
SWISS::CCs represents the CC lines within a Swiss-Prot or TrEMBL entry as specified in the user manual
http://www.expasy.org/sprot/userman.html . The CCs object is a container object which holds a list comprised of object of the type
SWISS::CC or derived classes (see below).
Code example
local $/="
//
";
while (<>) {
my $entry = SWISS::Entry-> fromText($_);
my @CCs = $entry -> CCs -> elements();
for my $CC (@CCs) {
if ($CC -> topic eq 'ALTERNATIVE PRODUCTS') {
# now can call methods of CCalt_prod
} elsif ($CC -> topic eq 'Copyright') {
# now can call methods of CCcopyright
} else {
# now can call methods of CC
}
}
}
Inherits from
SWISS::ListBase.pm
Attributes
"list"
Each list element is an object of one of the following classes, depending of the type of comment:
topic object
-------------------- --------------------
ALTERNATIVE PRODUCTS SWISS::CCalt_prod
RNA EDITING SWISS::CCrna_editing
BIOPHYSICOCHEMICAL PROPERTIES SWISS::CCbpc_properties
INTERACTION SWISS::CCinteraction
Copyright SWISS::CCcopyright
(all other topics) SWISS::CC
Methods
Standard methods
new
fromText
sort
Sort the CC block according to the order given in Swiss-Prot annotation note ANN017.
toText
update
Reading/Writing methods
ccTopic ($topic)
Returns true if entry contains a comment block with the specified topic.
copyright
Returns a string representation of the copyright text.
del (@patternList)
Deletes all comment elements whose topic matches the first element of the pattern list. The second element is the used to specify a
requirement for the comment to match as well.
get (@patternList)
An array is returned consisting of all comment elements elements whose topic matches any elements of the pattern list.
getObject (@patternList)
Same as get, but returns the results wrapped in a new ListBase object.
toString
Returns a string representation of the CCs object.
perl v5.10.1 2008-07-16 SWISS::CCs(3pm)