From owner-freebsd-questions@FreeBSD.ORG Sun Apr 10 13:28:55 2011 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 D8F5D106564A for ; Sun, 10 Apr 2011 13:28:55 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1D18FC0C for ; Sun, 10 Apr 2011 13:28:55 +0000 (UTC) Received: by iyj12 with SMTP id 12so5890034iyj.13 for ; Sun, 10 Apr 2011 06:28:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=4Qss5eaDuKbdK0LXfAfrD28Ath7Bp1vTKG73j1ehsqk=; b=F1pfvIS4vkJ6UI+HXDb2uRAvzTfYVGOZ9PSc3PG+z6g5AFcz73DDhes93uqu8qdn7j 3RYWBwqLl3Cuh6k2WAJCLI8EA3ScopAk421N/tHJsLlCYYMfuCbAUpJs0zrGbZ7eon5m 3M0HGhngicRIqyxyUcq13J+Q3M6E/hxu6r2IU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=XmamSWT9OhPbFGqeG3S+uQAHlw3EI3eGgxyiThRhXyYQ+xqvqZE8uu0liX6cKOPW/r 9R7ZXF5OXiD/cvl7WjxYb7Mno5JA0NzAuMApi6eUKH+mp/DP0awZutoDDdknxOeUbzlo 7FJubzfvvmjPx/sNn/1kVrk4zYXtj3B13sA+I= Received: by 10.43.54.71 with SMTP id vt7mr6337620icb.225.1302440436542; Sun, 10 Apr 2011 06:00:36 -0700 (PDT) Received: from [127.0.0.1] ([14.99.3.191]) by mx.google.com with ESMTPS id t1sm2378024ibm.38.2011.04.10.06.00.33 (version=SSLv3 cipher=OTHER); Sun, 10 Apr 2011 06:00:35 -0700 (PDT) Message-ID: <4DA1AA6E.7060807@gmail.com> Date: Sun, 10 Apr 2011 18:32:38 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 To: dino_vliet@yahoo.com Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: expr problem 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, 10 Apr 2011 13:28:55 -0000 Hi Dino, It looks to me like you don't want to FreeBSD's expr (pretty much like me). You probably want to install the GNU version, which I think is available in the coreutils port. Let me know if this helps. Regards Manish Jain