Thanks to Michael J Bennett. awk '(NR==linenumber){print};{next}' file Konrad Azzopardi B.Eng(Hons) System Engineer -----Original Message----- From: Azzopardi Konrad Sent: Tuesday, May 20, 2003 11:00 AM To: 'sunmanagers@sunmanagers.org' Subject: Easy way to get line n Dear all, Maybe this is a trivial method but is there a way other than making a loop or using tail/head to get the nth line from a file. Rgds Konrad Azzopardi B.Eng(Hons) System Engineer **************************************************************************** **************************************************************************** ************** VODAFONE MOBILE CONNECT CARD Your tool to online access at anytime and from almost anywhere. Surf the internet, access your email and send SMS messages from the comfort or your laptop without the need to connect your laptop to your mobile phone or plug into a telephone line. It's like having your laptop on the end of a long wire. A really, really, really long wire. Visit www.vodafone.com.mt for more info. **************************************************************************** **************************************************************************** **************** _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue May 20 05:16:55 2003
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:11 EST