Re: [semi-OT] How to echo \\ in dash



On Fri, Aug 28, 2009 at 02:02:53PM -0500, Boyd Stephen Smith Jr. wrote:
I believe dash mimics the XSI column, whereas bash makes up it's own rules.
Again, the shell command "printf" is much more consistent.

Yes.

In case of bash and dash, they both have printf as builtins. It is
quite predictable as external command /usr/bin/printf.

Osamu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: awk and date command
    ... Use a printf statement as follows: ... P.S. Awk! ... Text or chat with friends inside Yahoo! ... To unsubscribe: ...
    (Fedora)
  • Re: which command I should use to output sequentially,
    ... Since the OP has mentioned a Shell command, ... it's used to prepare Gnuplot command files out of the ... Either way, learning dozens of tools ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: command for checking executability
    ... shell command) to check whether a binary file can run on ... the platform before hand. ... want to check CPU architecture, binary compatibility, etc., your best ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: command for checking executability
    ... shell command) to check whether a binary file can run on ... In addition to the permissions and the format, you also need to make sure that any needed dynamic libraries are present in a version compatible with the binary. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • command for checking executability
    ... shell command) to check whether a binary file can run on ... the platform before hand. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)