Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 9, 2010
  1. Fix logic of input/output options in pipelines

    authored
    Patch by Taylan Ulrich B.
    
    The man page states "If any input or output options are given then the
    program behaves only in the requested mode.", but this doesn't seem to
    be true.
    
    The following will put out "bar", then change the primary selection to "foo".
    
    echo foo | { echo bar | xsel -pi; xsel -po; }
    
    The above example doesn't really make sense since the output of 'echo
    foo' is not otherwise used. However, the following fails too:
    
    echo foo | { echo "$(cat) bar" | xsel -pi; xsel -po; }
    
    That one is a typical example of modifying data in a pipe before
    passing it on to xsel -i, and then showing the result with an extra
    xsel -o. The 'xsel -po' would surely not be expected to affect the
    primary selection, but it does; it seems to read from stdin, which is
    empty because it has been used up by cat, and put it into the primary
    selection, effectively clearing it out.
    (You might say "Put the 'xsel -po' outside the '{...}'.", but that
    part could as well be a shell function or script, over which we'd have
    no control.)
    
        { 'initial_values'  => {},
          'mdf'             => '/u/mdf/mdf-kospi200-woori2.20100910-10199.pcap',
          'branch'          => 'dev'
        },
Commits on Sep 19, 2007
  1. remove automatically generated files, add autogen.sh script

    conrad authored
    git-svn-id: http://svn.kfish.org/xsel/trunk@190 9c49b5d1-7df3-0310-bce2-b7278e68f44c
  2. update to 0.9.6 sources (full tarball); conversion from Imake to GNU …

    conrad authored
    …autotools
    
    git-svn-id: http://svn.kfish.org/xsel/trunk@189 9c49b5d1-7df3-0310-bce2-b7278e68f44c
Something went wrong with that request. Please try again.