split – split a file into pieces.
code related to library libsrcinst
/* Find the length of STRING + 1, but scan at most MAXLEN bytes.
Copyright (C) 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
by the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA. */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
/* Specification. */
#include "strnlen1.h"
#include <string.h>
/* Find the length of STRING + 1, but scan at most MAXLEN bytes.
If no '' terminator is found in that many characters, return MAXLEN. */
/* This is the same as strnlen (string, maxlen - 1) + 1. */
size_t
strnlen1 (const char *string, size_t maxlen)
{
const char *end = memchr (string, '', maxlen);
if (end != NULL)
return end - string + 1;
else
return maxlen;
}
http://tigcc.ticalc.org/doc/gnuexts.html
http://gcc.gnu.org/extensions.html
code library /libsrcinst-2.5
/* Find the length of STRING + 1, but scan at most MAXLEN bytes.
Copyright (C) 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
by the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA. */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
/* Specification. */
#include "strnlen1.h"
#include <string.h>
/* Find the length of STRING + 1, but scan at most MAXLEN bytes.
If no '' terminator is found in that many characters, return MAXLEN. */
/* This is the same as strnlen (string, maxlen - 1) + 1. */
size_t
strnlen1 (const char *string, size_t maxlen)
{
const char *end = memchr (string, '', maxlen);
if (end != NULL)
return end - string + 1;
else
return maxlen;
}
http://ftp.gnu.org/gnu/sourceinstall/libsrcinst-2.5.tar.gz
http://tigcc.ticalc.org/doc/gnuexts.html
http://gcc.gnu.org/extensions.html
mountpoint – see if a directory is a mountpoint
Mountpoint checks if the directory is a mountpoint. $mountpoint / / is a mountpoint $echo $? 0 $mountpoint /dev/ /dev/ is a mountpoint $echo $? 0 $mountpoint /media/ /media/ is not a mountpoint $echo $? 1 $mountpoint /store/ /store/ is not a mountpoint $echo $? 1 $mountpoint /etc/ /etc/ is not a mountpoint $echo $? 1 $mountpoint /sys/ /sys/ is a mountpoint $echo $? 0 $mountpoint /sys/fs/cgroup/cpuset/ /sys/fs/cgroup/cpuset/ is a mountpoint $echo $? 0 $
mountpoint
ghostscript
Ghostscript (PostScript and PDF language interpreter and previewer)
GPL Ghostscript
dict – DICT Protocol Client
dict is a client for the Dictionary Server Protocol (DICT)
RFC 2229
$dict ls
2 definitions found
From V.E.R.A. -- Virtual Entity of Relevant Acronyms (January 2014) [vera]:
LS
LAN Server (IBM)
From The Free On-line Dictionary of Computing (20 July 2014) [foldoc]:
ls
1. The {Unix} command for listing a
{directory}.
{Unix manual page}: ls(1).
2. The {country code} for Lesotho.
(2000-03-18)
$dict cd
10 definitions found
From The Collaborative International Dictionary of English v.0.48 [gcide]:
compact disk player \com"pact disk` play"er\(k[o^]m"p[a^]kt
d[i^]sk` pl[=a]"[~e]r), n.
an electronic device containing a laser, used to read or play
back the data on a compact disk. The term is usually used for
the type of device used to play music recordings. That used
for data storgage n coputer applications is usually called a
{CD drive}. Called also {CD player} and informally, {CD}.
Syn: CD player.
[PJC]
From The Collaborative International Dictionary of English v.0.48 [gcide]:
Cd \Cd\ n.
1. the chemical suymbol for {cadmium}, a metallic element of
atomic number 48.
Syn: cadmium.
[WordNet 1.5]
2. the abbreviation for the {candela}, the basic unit of
luminous intensity adopted under the System International
d'Unites. [abbr.]
Syn: candle, candela, standard candle.
[WordNet 1.5]
From The Collaborative International Dictionary of English v.0.48 [gcide]:
CD \CD\ n.
1. an acronym for {compact disk}, a disk-shaped recording of
binary data that is smaller than a phonograph record, and
is recorded and played back by a {compact disk player}, an
electronic device containing a laser. The term is also
used generically to refer to the medium as a data storage
medium.
Syn: compact disc, compact disk.
[WordNet 1.5 +PJC]
2. a {compact disk player}. [informal]
[PJC]
3. an acronym for {certificate of deposit}, a debt instrument
issued by a bank for a fixed time period, usually paying
interest.
Syn: certificate of deposit.
[WordNet 1.5]
From WordNet (r) 3.0 (2006) [wn]:
cd
adj 1: being one hundred more than three hundred [syn: {four
hundred}, {400}, {cd}]
n 1: a soft bluish-white ductile malleable toxic bivalent
metallic element; occurs in association with zinc ores
[syn: {cadmium}, {Cd}, {atomic number 48}]
2: the basic unit of luminous intensity adopted under the
Systeme International d'Unites; equal to 1/60 of the luminous
intensity per square centimeter of a black body radiating at
the temperature of 2,046 degrees Kelvin [syn: {candle},
{candela}, {cd}, {standard candle}]
3: a debt instrument issued by a bank; usually pays interest
[syn: {certificate of deposit}, {CD}]
4: a digitally encoded recording on an optical disk that is
smaller than a phonograph record; played back by a laser
[syn: {compact disk}, {compact disc}, {CD}]
From V.E.R.A. -- Virtual Entity of Relevant Acronyms (January 2014) [vera]:
CD
Carrier Detect (MODEM, RS-232)
From V.E.R.A. -- Virtual Entity of Relevant Acronyms (January 2014) [vera]:
CD
Change Directory (DOS, Unix, OS/2)
From V.E.R.A. -- Virtual Entity of Relevant Acronyms (January 2014) [vera]:
CD
Committee Draft (ISO)
From V.E.R.A. -- Virtual Entity of Relevant Acronyms (January 2014) [vera]:
CD
Compact Disk (CD)
From The Free On-line Dictionary of Computing (20 July 2014) [foldoc]:
cd
1. {change directory}.
2. The {country code} for the Democratic Republic
of the Congo (formerly Zaire, {zr}).
(1999-01-27)
From The Free On-line Dictionary of Computing (20 July 2014) [foldoc]:
Compact Disc
CD
(CD) (Not "disk", this spelling is part of the
standard).
A 4.72 inch disc developed by {Sony} and {Philips} that can
store, on the same disc, still and/or moving images in
monochrome and/or color; stereo or two separate sound tracks
integrated with and/or separate from the images; and digital
program and information files.
The same fabrication process is used to make both audio CDs
and {CD-ROMs} for storing computer data, the only difference
is in the device used to read the CD (the player or drive).
{CD Information Center
(http://cd-info.com/cd-info/CDInfoCenter.html)}.
(1999-06-23)
$
dict
dict is a client for the Dictionary Server Protocol (DICT)
RFC 2229
factor – factor numbers
Print the prime factors of each specified integer NUMBER. $factor 2 2: 2 $factor 3 3: 3 $factor 4 4: 2 2 $factor 5 5: 5 $factor 6 6: 2 3 $factor 7 7: 7 $factor 8 8: 2 2 2 $factor 9 9: 3 3 $factor 10 10: 2 5 $factor 11 11: 11 $factor 12 12: 2 2 3 $factor 13 13: 13 $factor 14 14: 2 7 $factor 15 15: 3 5 $
factor

Print the prime factors of each specified integer NUMBER.
Prime factor



