Permalink
Switch branches/tags
Nothing to show
Commits on Sep 14, 2017
Commits on Nov 21, 2016
  1. l: enable --quoting=shell-escape for GNU ls

    pixelb committed Nov 21, 2016
    This new quoting mode available since coreutils 8.25,
    quotes file names unambiguously and appropriate for use in a shell.
    It's enabled by default when outputting to terminal,
    but needs to be explicitly enabled here since we're
    piping to sed.
Commits on Oct 30, 2016
  1. l: fix colors for some file types

    pixelb committed Oct 30, 2016
    We were incorrectly matching *.hushlogin=... entries
    in $LS_COLORS when removing the coloring for hardlinks (hl=...).
    So we adjust the regex matches of $LS_COLORS more restrictive.
    
    Note we pre adjust $LS_COLORS to avoid having
    to deal with word boundaries are they were seen to be non-portable.
    Testing those showed:
                            \<      \b      [[:<:]]
      solaris sed           yes     no      no
      solaris xpg4 sed      yes     no      error
      netbsd sed            no      no      yes
      gnu sed               yes     yes     yes
    
    Fixes issue #22
Commits on Oct 12, 2016
  1. l: propagate exit status from ls

    pixelb committed Oct 12, 2016
    Previously the exit status from this script was
    that of the final sed(1), which is usually success,
    even if specified files can't be found etc.
    
    Instead use the exit code from the wrapped ls command.
    
    `set -o pipefail` would be an elegant way to achieve that,
    but that's bash/ksh/zsh specific, so we manually setup
    file descriptors so that the exit status from ls can
    be manually output and captured.
Commits on Sep 22, 2016
  1. inpy: support multiline pasting with paste()

    pixelb committed Sep 22, 2016
    Include paste() function from Ned Batchelder,
    which allows one to paste multiline python code
    at the interactive prompt.  It's python 2/3 compat.
Commits on Feb 29, 2016
  1. ansi2html.sh: add --css-only and --body-only args

    d3fault committed with pixelb Feb 27, 2016
    They work together so you can inline the generated html on an
    existing page, and also re-use the css in multiple html pages.
Commits on Dec 22, 2015
  1. ansi2html.sh: fix missing line breaks on lines > 80 chars

    pixelb committed Dec 22, 2015
    Essentially revert the previous change because
    tf there were styles applied (with <span>) on lines longer
    than 80 characters, then the </span> would be closed on the
    next line, which results in a missing line break due to
    our use of "inline-block" for <span> element.
Commits on Dec 21, 2015
  1. gcccpuopt: add support forf Haswell U

    pixelb committed Dec 21, 2015
    * gcccpuopt: intel family 6, model 69 is Haswell ULV
Commits on Sep 2, 2015
Commits on Jul 16, 2015
  1. gcccpuopt: add new GCC 5.1 -march option

    pixelb committed Jul 16, 2015
    Knight's Landing (Xeon PHi) support.
  2. gcccpuopt: add new GCC 4.9 -march options

    pixelb committed Jul 16, 2015
    Note GCC has moved to codename aligned -march options as of v4.9.
    I've only added the new codenames for backwards compat.
    I.E. broadwell and silvermont. The corresponding CPUIDs were also added.
    
    For AMD I've only commented on the new -march options for now.
Commits on Jul 10, 2015
  1. ansi2html.sh: avoid pixels between adjacent span elements

    pixelb committed Jul 10, 2015
    This is seen with newer browsers and impacts pages like:
    http://www.pixelbeat.org/docs/terminal_colours/
Commits on Mar 19, 2015
  1. sw: avoid spurious -n output on OS X

    pixelb committed Mar 19, 2015
    Use printf rather than echo
Commits on Jan 29, 2015
  1. findrepo: make compatible with BSD/Mac OS X

    pixelb committed Jan 29, 2015
    Specify '.' as the directory to search for `find`.
    Remove the -r option as it's implicit in BSD xargs,
    also on GNU, `:|xargs grep` is a noop, as even though
    grep is started with no params, it will read from stdin,
    which is empty by definition.
    
    This was tested on Mavericks (darwin 13) and Yosemite (darwin 14)
  2. findrepo: default to searching all files

    pixelb committed Jan 29, 2015
    Avoid needing to specify the '*' glob
    in the common case where you want to search all files.
    
    This does introduce an ambiguity with 2 parameters,
    so give an appropriate warning in the edge case where
    that's significant.
Commits on Jan 26, 2015
  1. ansi2html.sh: support processing in non UTF8 locales

    pixelb committed Jan 26, 2015
    Take advantage of HTML entities in the ASCII range
    (specifically &quot;), to avoid needing to process
    multi-byte characters (specifically λ).
    
    Fixes issue #18
Commits on Jan 2, 2015
  1. gcccpuopt: handle Haswell Crystalwell models

    pixelb committed Jan 2, 2015
    Essentially a variant with L4 cache eDRAM,
    supporting the CPU and GPU.
Commits on Oct 27, 2014
  1. scripts: fix misspellings

    pixelb committed Oct 27, 2014
Commits on Oct 22, 2014
Commits on Sep 4, 2014
  1. urldiff: a new script to compare URLs directly

    pixelb committed Sep 4, 2014
    Useful in many cases for comparing git web interface links etc.
Commits on Aug 23, 2014
Commits on Jul 16, 2014
  1. ansi2html.sh: specify gawk as the interpreter

    pixelb committed Jul 16, 2014
    since we use gawk specific syntax
Commits on Jun 22, 2014
  1. l: avoid "invalid subscript" error with zsh

    serixscorpio committed with pixelb Jun 22, 2014
    * scripts/l: Use ${ESC}[ rather than $ESC[0
    to avoid "invalid subscript" error with zsh.
    Note `ksh -n` shows this apparent ambiguity well:
      bin/l: warning: line 183:
      use braces to avoid ambiguities with $id[...]
    Note however that ksh, bash and dash were all fine
    with the existing syntax.
Commits on Jun 5, 2014
  1. l: use gls if available

    pixelb committed Jun 5, 2014
    GNU ls is commonly installed as gls on Solaris and OSx etc.
    so use that version if available.
Commits on May 12, 2014
  1. Remove redundant adjacent color changes

    Simon Sweetman committed with pixelb May 11, 2014
  2. Use Lambda<type> for all tagging

    Simon Sweetman committed with pixelb May 11, 2014
Commits on May 9, 2014
Commits on May 8, 2014
  1. ansi2thml.sh: fix trailing space at end of lines

    Simon Sweetman committed with pixelb May 8, 2014
    Also relegate sed to simple matching and replacement,
    leaving awk to handle backspacing and <span> handling etc.
    Screens are now reproduced more accurately and quickly.
    Also there is improved support for cursor movement within lines.
Commits on Mar 28, 2014
  1. ansi2thml.sh: separate out individual screens

    Simon Sweetman committed with pixelb Mar 28, 2014
    Display individual screens linearly in the HTML output
    
    Support cursor movement commands
    
    Convert python script to awk as it's a more natural
    companion to sed, with lower interpreter startup overhead
Commits on Oct 16, 2013
  1. ansi2html.sh: support OSX

    brendano committed with pixelb Oct 16, 2013
    Lookup GNU sed which we depend on
Commits on Sep 26, 2013
  1. ansi2html.sh: report correct --version

    pixelb committed Sep 26, 2013
    * scripts/ansi2html.sh: s/0.13/0.14/
Commits on Sep 25, 2013
  1. maint: remove redundant escaping in ansi2html.sh

    pixelb committed Sep 25, 2013
    * scripts/ansi2html.sh: The regexp in a s/regexp/replacement/
    sed expression doesn't need the & escaped, as it only has
    specical significance in the replacement.
Commits on Sep 15, 2013
  1. inpy: support tab completion on OSX

    lyda committed with pixelb Sep 15, 2013
    OSX uses libedit rather than GNU readline
    for GPL avoidance reasons
Commits on Sep 6, 2013
  1. lomount.sh: support GPT partitions

    slaine75 committed with pixelb Jan 25, 2013