Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nl



NAME
nl - number lines of files

SYNOPSIS
nl [OPTION]... [FILE]...

DESCRIPTION
Write each FILE to standard output, with line numbers
added. With no FILE, or when FILE is -, read standard
input.

Example:
[froy@miki froy]$ cat /etc/fstab |nl
1 /dev/hda6 / ext2 defaults 1 1
2 /dev/hda1 /boot ext2 defaults 1 2
3 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
4 /dev/fd0 /mnt/floppy auto noauto,owner 0 0
5 none /proc proc defaults 0 0
6 none /dev/pts devpts gid=5,mode=
620 0 0
7 /dev/hda5 swap swap defaults 0 0

On Tuesday, July 31, 2001, at 10:14 AM, Markus Hitter wrote:

Isn't 'nl' (number line) part of the standard FreeBSD distribution?

Never seen a command named "nl". Would "wc -l" fit?

------
Fabien Roy
33 Lost Meadow Trail
Lakeway TX 78738
512-608-0060 Home
512-796-9854 Cell
email@hidden
email@hidden


References: 
 >Re: nl (From: Markus Hitter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.