From owner-freebsd-questions@FreeBSD.ORG Sun May 23 16:22:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 705261065675 for ; Sun, 23 May 2010 16:22:51 +0000 (UTC) (envelope-from jozsi.avadkan@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E4A2C8FC20 for ; Sun, 23 May 2010 16:22:50 +0000 (UTC) Received: by fxm4 with SMTP id 4so2626288fxm.13 for ; Sun, 23 May 2010 09:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=pD5VkHX6UbckpWDLLmuOdIxGV66uJ2ELJs6Jcltxejc=; b=m82X6FBKVjW9UOxMiDACH6aL5kawrBDKiSPPZWA3UpqYVpNX4u8g/vTbvvfKc72Ijh kIRicv9zhJzrlhvRa7IylUBl6KdrHc8+KhaPwYrw/WewxFOuUOx7sobzvGBEkG/snFKK JdQV1uX1SQ+4f8xQdS7AZbXyuI9d+OQorzwWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=vT9A5cFTzfe99ArOEeWUajd3esqHBk2dJME6ULmH/VTNv2FlMHUTxng8WH746CqCvL Ku9MUY44L6oT46zzC8wSX+XCPcRW1UvgaqYXb4EhZtMb66ejtSObeyEeLclVnM9uBVyb 5Bb40mryhZ8j6NxekYvzlAdGYOMVxhZeo9lXI= Received: by 10.223.98.5 with SMTP id o5mr3656963fan.64.1274631387414; Sun, 23 May 2010 09:16:27 -0700 (PDT) Received: from [94.44.8.163] (apn-94-44-8-163.vodafone.hu [94.44.8.163]) by mx.google.com with ESMTPS id u12sm15150882fah.4.2010.05.23.09.16.26 (version=SSLv3 cipher=RC4-MD5); Sun, 23 May 2010 09:16:26 -0700 (PDT) From: Jozsi Vadkan To: FreeBSD Mailing list Content-Type: text/plain Date: Sun, 23 May 2010 18:16:01 +0200 Message-Id: <1274631361.6474.28.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: tricky perl question - ascending order X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 16:22:51 -0000 or maybe in bash.. script/"one liner" e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ i want to make this output from it: http://pastebin.com/raw.php?i=kH8VxT0A So from the input, i want to make an ascendant order, how many things are under a "SOMETHING-XX" Does anyone has any "perl magic" in the pocket, how to do this? :D Thank you very, very much..:\