Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2007 00:00:22 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/file2c file2c.1 file2c.c
Message-ID:  <200703230000.l2N00Nkj066891@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jkim        2007-03-23 00:00:22 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/file2c       file2c.1 file2c.c 
  Log:
  Add '-s' option and update the manual page.  With this option, it prints
  little more style(9) friendly output.  For example:
  
  %file2c -n 8 -s -x 'const char data[] = {' '};' < /etc/motd
  const char data[] = {
          0x46, 0x72, 0x65, 0x65, 0x42, 0x53, 0x44, 0x20,
          0x37, 0x2e, 0x30, 0x2d, 0x43, 0x55, 0x52, 0x52,
          0x45, 0x4e, 0x54, 0x20, 0x28, 0x42, 0x45, 0x41,
          0x53, 0x54, 0x49, 0x45, 0x29, 0x20, 0x23, 0x30,
          0x3a, 0x20, 0x57, 0x65, 0x64, 0x20, 0x4d, 0x61,
          0x72, 0x20, 0x32, 0x31, 0x20, 0x31, 0x39, 0x3a,
          0x30, 0x34, 0x3a, 0x33, 0x36, 0x20, 0x45, 0x44,
          0x54, 0x20, 0x32, 0x30, 0x30, 0x37, 0x0a
  };
  
  Revision  Changes    Path
  1.13      +10 -4     src/usr.bin/file2c/file2c.1
  1.10      +16 -3     src/usr.bin/file2c/file2c.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703230000.l2N00Nkj066891>