From owner-freebsd-questions@FreeBSD.ORG Sat Jan 25 14:51:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7240038E for ; Sat, 25 Jan 2014 14:51:46 +0000 (UTC) Received: from mail-qa0-f52.google.com (mail-qa0-f52.google.com [209.85.216.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F3AC17A5 for ; Sat, 25 Jan 2014 14:51:45 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id j15so5357270qaq.11 for ; Sat, 25 Jan 2014 06:51:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=b1gqbIoNmNUdpVv4OqOf/n+E1aLiD9b09kO3b2IiGX0=; b=b+YuxVuLdZlGsia5lZ2U5G30YLVROgSZMbOkNXFAcYwInzMM02RQWERFHTdwE5sNrU 79INc2q+wMH2+cFX2pYoeXrBzzvPuG9np9V6B/NBzB5q/8lzKs50Swv3tdU7ReH908/j RH4fzG8wVYRKraLeCoiz1ZnDcfasKA6VJzn1CbQOjfeEwm9YouP1jHejB4EIA/GyHpU/ eCIf2FHg0jlL62MKPuxssSrp9DdRBoNqCNnNJviY5CEM80FNMJoSmahuSh+w18hkUh26 Xc6UwFaojFavfiL7dYyuwkzCRrhm9r6jns8QKhgED3ajy2ZiP8hqYzD3LplLlxipA63m EXJA== X-Gm-Message-State: ALoCoQk9fsOq/88pAVLM6iUiZKv4rB9zmM08AmJmuszWIVPc5SVDYjMZvVJrkyGYkVlDbjrSxEug MIME-Version: 1.0 X-Received: by 10.140.98.33 with SMTP id n30mr27406169qge.8.1390661499320; Sat, 25 Jan 2014 06:51:39 -0800 (PST) Received: by 10.229.193.8 with HTTP; Sat, 25 Jan 2014 06:51:39 -0800 (PST) X-Originating-IP: [184.148.68.164] In-Reply-To: <52E3C691.8090000@bananmonarki.se> References: <52E3C691.8090000@bananmonarki.se> Date: Sat, 25 Jan 2014 09:51:39 -0500 Message-ID: Subject: Re: Field delimiter in sort program in freebsd From: Shayan Pooya To: Bernt Hansson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 14:51:46 -0000 $ is a variable, and you have not defined it. > $ by it self means the first word on the line ie sort. > > So your line expands to: $ sort -t sort'\xff' > > NB I AM NOT A PROGRAMMER! > Thanks. That explains the error message. What is the correct way of doing it in tcsh though?