Quoting Ben Coffman <
ben_coffman@hotmail.com>:
> Is there a command line argument that lets you grab a particular line from
> from a text file in Linux or Unix?
>
> Thanks,
>
> Ben
>
You can use head/tail to do that.
Say you want line 4:
head --lines=4 filename | tail --lines=1
JD
--
JD Austin
Twin Geckos Technology Services LLC
Internet Hosting and Consulting
email:
jd@twingeckos.com
http://www.twingeckos.com
phone/fax: 480.344.2640
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss