From owner-freebsd-questions@FreeBSD.ORG Sat Jul 3 09:53:25 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 2EDCE1065670 for ; Sat, 3 Jul 2010 09:53:25 +0000 (UTC) (envelope-from gustafson.erik@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B3E258FC17 for ; Sat, 3 Jul 2010 09:53:24 +0000 (UTC) Received: by bwz12 with SMTP id 12so2439886bwz.13 for ; Sat, 03 Jul 2010 02:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=l962i92ZVn5zJ5wwsUmuUHieq8TD0f3R7cjwB9dOzGs=; b=Y2C+Z8quTFlLxgBp8sZFfs/L/DkccW83gboScMpIQeYYfHbJ7gr/oQPT5FATxsZ/8a q4COmtEGCHjwWU4KNkHFK1e0D++eeEBKQzF6rGrXgOUZTl2Eu68uEzMahaNo6t97B76E i0SV4ZLR0zP/kkg8G+uFYoiP/lOrpTQa7Ea/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=d+LGLrS1odracd0glLezt9fdjbIDz/fRkfV2lskR8O6r3aJtEFshfJKor23WP2vfKq nty9sqm9NifBqnRcAQURNRissZavHzSrFZ+s7qpzIQx5skOWNXYq2u48kJl5b+Jpb9Hw J3HYNVS+8RRErNZcV7ZqhkTgLugvB+0KZ1jmQ= MIME-Version: 1.0 Received: by 10.204.2.139 with SMTP id 11mr110982bkj.202.1278149132521; Sat, 03 Jul 2010 02:25:32 -0700 (PDT) Received: by 10.204.70.198 with HTTP; Sat, 3 Jul 2010 02:25:32 -0700 (PDT) In-Reply-To: <1278148049.4480.9.camel@localhost> References: <1278148049.4480.9.camel@localhost> Date: Sat, 3 Jul 2010 11:25:32 +0200 Message-ID: From: Erik Gustafson To: Jozsi Avadkan Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing list Subject: Re: text to html 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: Sat, 03 Jul 2010 09:53:25 -0000 On Sat, Jul 3, 2010 at 11:07 AM, Jozsi Avadkan wrote: > input: > http://pastebin.com/raw.php?i=MqPXZwc3 > > output: > http://pastebin.com/raw.php?i=8QCkp4yv > > it will be a long day.. :D > > could someone please help with it? > > i have to make a "one liner" that get's the input, and gives the > mentioned output. Sed version: # cat raw_input | sed 's#\(.*\)/\(.*\)#
\1
\ \2'# /Erik