NUMBER(6) BSD Games Manual NUMBER(6)NAME
number -- convert Arabic numerals to English
number [-l] [number ...]
The number utility prints the English equivalent of the number to the standard output, with each 10^3 magnitude displayed on a separate line.
If no argument is specified, number reads lines from the standard input.
The options are as follows:
-l Display the number on a single line.
Although number understand fractions, it doesn't understand exponents.
BSD March 31, 1994 BSD
Check Out this Related Man Page
NL(1) FSF NL(1)NAME
nl - number lines of files
nl [OPTION]... [FILE]...
Write each FILE to standard output, with line numbers added. With no FILE, or when FILE is -, read standard input.
Mandatory arguments to long options are mandatory for short options too.
use STYLE for numbering body lines
use CC for separating logical pages
use STYLE for numbering footer lines
use STYLE for numbering header lines
line number increment at each line
group of NUMBER empty lines counted as one
insert line numbers according to FORMAT
do not reset line numbers at logical pages
add STRING after (possible) line number
first line number on each logical page
use NUMBER columns for line numbers
--help display this help and exit
output version information and exit
By default, selects -v1 -i1 -l1 -sTAB -w6 -nrn -hn -bt -fn. CC are two delimiter characters for separating logical pages, a missing second
character implies :. Type \ for . STYLE is one of:
a number all lines
t number only nonempty lines
n number no lines
number only lines that contain a match for REGEXP
FORMAT is one of:
ln left justified, no leading zeros
rn right justified, no leading zeros
rz right justified, leading zeros
Written by Scott Bartram and David MacKenzie.
Report bugs to <firstname.lastname@example.org>.
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
The full documentation for nl is maintained as a Texinfo manual. If the info and nl programs are properly installed at your site, the com-
should give you access to the complete manual.
nl (coreutils) 4.5.3 February 2003 NL(1)
I want to count the number of occurence of perticular word from one text file.
Please tell me "less" command is work in ksh or not. If it is not working then instead of that which command will work. :confused: (40 Replies)
hey guys. i'm new to shell scripting but not new to programming. i want to write a script that will take all the files in the current directory that end with a particular filetype and change all their names to a number in order. so, it would take all the jpg files and sort them in alphabetical... (30 Replies)
I have a doubt about how to set this up. This is the situation.
I have two files, one that is ~31,000 in length and has the following information (7 fields):
1 + 100208127 100261594 6 100208127,100231680,100237404,100245177,100249508,100260529, ... (35 Replies)
if the column1 and 2 in both files has same key (for example "a" and "a1") compare each first key value(a1 of a) of input2 (for example 1-4 or 65-69 not 70-100 or 44-40 etc) with all the values in input1.
if the range of first key value in input2 is outof range in input1 values named it as out... (54 Replies)
I am very new to shell scripting.This is my data file
Now i am must use shell scripting to read n number of lines from the file & from ts n number of lines i need to find greatest number among them & so on for... (44 Replies)
Good afternoon all,
First, sorry for my English, this is not my first language but I try my best :).
So, here we go.
A friend of mine gave me an old Sun Blade 1500 he wasn't using. He said it was working fine except for the missing hard drive.
I had in my IT personnal box an old IDE... (33 Replies)
I have number in file which contains date and serial number:
The last two digits are serial number (00). So maximum of serial number is 100.
After reaching 100 it becomes 00 with incrementing 10 which is day with max 31.
after reaching 31 it becomes 00 and increments 10... (31 Replies)
Hi guys and gals...
Someone pointed me to this URL this morning and thought I might be interested.
Not the best bash solution but at my level I solved it this way, in around 5-10 minutes...
What about your attempts...
Produce the number 2014 without any numbers in your source code -... (40 Replies)
i have the following text file...
i am very tired.
i am busy
i am hungry
i have to find the number of occurence of a particular word 'am' from the text file.. can any one give the shell script for it (34 Replies)
This is first time post...found this forum when looking for possible solution to fix my sun pc. Just one day can't boot it already showing the following:
Boot device: disk File args:
Bad magic number in disk label
Can't open disk label package
Can't open boot device... (40 Replies)
i have an android phone which i think is bricked, so wanted to see what the actual issue is, I flashed it with TWRP recovery image and launched terminal i, was able understand that mount is not happening, it says invalid argument and no such file or directory. Below is what i get while... (32 Replies)