michaeljdur@yahoo.com on 31 Aug 2010 10:48:07 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Sed or awk help?!

  • From: "michaeljdur@yahoo.com" <michaeljdur@yahoo.com>
  • To: plug@lists.phillylinux.org
  • Subject: Re: [PLUG] Sed or awk help?!
  • Date: Tue, 31 Aug 2010 10:48:00 -0700 (PDT)
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283276881; bh=3G0xWxeA1ICpNI7uXLCdPadzkT/65xBLQjAwrZb4qOw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=albJl57oNhOnI6LmvxW/Z+0B/Jdf2AWhf10Z0YeAGCsjY6HKdlTyo2jycMs5J9tzuVsU8u6rxMeGaZprcE0ok5jp+P2eG3VCdD5gE5NRzY5Eezz1uXEsBtXWw6Fup7L4iYQ9hSrh6iowbrmkiQ0idv9aQYyucRueCFVXpCmTTlM=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

assuming one file per line you might also use:
cat oldfilenames.txt | cut -d"." -f1 >newfile.txt



      
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug