From owner-freebsd-questions@FreeBSD.ORG Sat Mar 8 13:48:54 2008 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 51F17106566B for ; Sat, 8 Mar 2008 13:48:54 +0000 (UTC) (envelope-from victorsubervi@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id 206968FC1E for ; Sat, 8 Mar 2008 13:48:54 +0000 (UTC) (envelope-from victorsubervi@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so652398rvb.43 for ; Sat, 08 Mar 2008 05:48:53 -0800 (PST) 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:cc:in-reply-to:mime-version:content-type:references; bh=DSJqA+8ACcdDIPoBfKsTlkNyAaDculp+XDIVnz1v+eY=; b=rr8oIMmLUxq/XbSQG3ep+NOS1P7cRA21DTVEeMV0kSEZ6CZZ0yIG6no4I50g14wEFcD+SyFEOpI3W7efYE2HHeF8Dq0RmQxe3nKyUnwBEmuN7nYv/V/RuVy2ZbwIgV/zeVtzsED32Hp22W43LMp+zVelXasgcKYzLq//rYl4El4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jOmP07lV8EEEywlpFM71QXC2xKOYKZxI0OizSBJEPJxz2v+dzvmJWCAJsrSmHHW/FBo7nPe2THdviFt27UO1AJ/1fAG2/NaPNRe8XhxUNuWDVQNs3TepjcBMup9L+fn5QSsLYvlkxMXqCemokOQoR+QpYf7U6Sd4bYL15FD/ODM= Received: by 10.140.148.3 with SMTP id v3mr55256rvd.225.1204984132922; Sat, 08 Mar 2008 05:48:52 -0800 (PST) Received: by 10.141.99.6 with HTTP; Sat, 8 Mar 2008 05:48:52 -0800 (PST) Message-ID: <4dc0cfea0803080548q6f5bb4e0rd229f4fb0f29149b@mail.gmail.com> Date: Sat, 8 Mar 2008 14:48:52 +0100 From: "Victor Subervi" To: Mel In-Reply-To: <200803040022.34594.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 References: <4dc0cfea0803030652n2f048784qcfc46ad561d9fbf9@mail.gmail.com> <200803040022.34594.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Variable Substitution 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, 08 Mar 2008 13:48:54 -0000 No, no, I have made myself misunderstood. I am looking for a %x where x is some letter that will enable me to substitute a file. Also, I am looking fo= r a howto to brush up on that. What is this called if not variable substitution, which is not google-friendly? TIA, Victor On 3/4/08, Mel wrote: > > On Monday 03 March 2008 15:52:51 Victor Subervi wrote: > > > Forgive this basic question, but can=B4t figure out how to google it. I= f I > > want to substitute strings in an expression, I can use %s for string, o= r > %d > > for digit. What about file? What is this process called, so I can find = a > > howto? > > printf(1) or printf(3), pending what language you want. > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. >