-To print one line of text:
sed -n "${INDEX}p" filename
(where INDEX is the line # or numbers)
George Toft
> Is there a command line argument that lets you grab a particular line from
> from a text file in Linux or Unix?
>
> Thanks,
>
> Ben
>
>
> ---------------------------------------------------
> 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
>
---------------------------------------------------
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