From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 5 14:06:41 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 631D51065675 for ; Sat, 5 Jul 2008 14:06:41 +0000 (UTC) (envelope-from sebastian.tymkow@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id EC1AF8FC13 for ; Sat, 5 Jul 2008 14:06:40 +0000 (UTC) (envelope-from sebastian.tymkow@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so539954nfh.33 for ; Sat, 05 Jul 2008 07:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=iXYMvbm3nmXiXKrSRiKokbmkjhVUpZly6A/0zLTRixg=; b=pVOZ9TnmXFHjvaZ9ytY0oiqa2f2OrLVtQ4Af4dIBWqRJBgs9uzk2Yv1+kAmoS3vNv2 PuYpD11nnGiTfXYWGrzOSivKTXfD1J0eUb+oGdIfR7irYWYiWE2IRCgrG1C93wp/3r9/ kWymLEDNsiXnwB9a3LIrWz8Gg1LX0uYE8PWJI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=QQYcAskbwiLKzqdcimDxkzp2mG6uViXo68E+HnQHjSETfnGbn+O9jn79iQi/hEFmFF b+99WGMeD2DnKNsiO3lZDEZrtlnfECRjbQhOxJmBbZiFrQ+Y/VpkDMywHVZZhH0wY9nY NUOreZJSzGY6pmE5rEQdRNhtb7Xz8Z75smSPE= Received: by 10.210.46.14 with SMTP id t14mr1269660ebt.124.1215266799546; Sat, 05 Jul 2008 07:06:39 -0700 (PDT) Received: by 10.210.57.20 with HTTP; Sat, 5 Jul 2008 07:06:39 -0700 (PDT) Message-ID: <692660060807050706i6e02fe04t840bc0a2aff1e8ae@mail.gmail.com> Date: Sat, 5 Jul 2008 16:06:39 +0200 From: "=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=" To: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Sed in FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2008 14:06:41 -0000 Hi, I'm trying to use sed in script to append file after pattern but I couldn't find any good example how can I do it. I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There are many axamples in internet but none of them work on FreeBSD. Best regards, Sebastian Tymkow