Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

UNIX pipes

Name: Anonymous 2007-03-05 13:26 ID:+YArxL5d

why does this work: firefox yotsuba.jpg
but not this: ls|grep yotsuba|firefox

note: ls|grep yotsuba produces: yotsuba.jpg

what am I doing wrong?

Name: Anonymous 2007-03-05 13:42 ID:fyzR52uX

The second one pipes the stdin of firefox with the stdout of grep, while the first one runs firefox with the command line argument "jotsuba.jpg"

Name: Anonymous 2007-03-05 13:52 ID:kP39Z1TX

>>1
xargs motherfucker, do you use it?

Name: Anonymous 2007-03-05 13:58 ID:+YArxL5d

yep, ls|grep yotsuba|xargs firefox did the trick. thank you >>2 and >>3.

Name: Anonymous 2007-03-05 14:05 ID:fyzR52uX

>>4
you're welcome

Name: Anonymous 2007-03-06 18:42 ID:yNtngElD

well seeing as unix isnt tangible, im not sure you can make a pipe out of it. why not jut smoke out of something normal?

Name: Anonymous 2007-03-07 14:39 ID:c4zk1WZ2

>>3
Real halp, in my /comp/?

Name: Anonymous 2007-03-07 14:42 ID:g/NeX0zi

>>7
As long as the question is about ○n○x and the answer is really rude, why not?

Name: Anonymous 2007-03-07 15:46 ID:mV5CccCW

>>7
 it's moar likely than you think

Name: Anonymous 2007-03-07 19:34 ID:I2kwtAmR

You should use Opera instead of Firefox. You'll find an ebuild that drops it to /opt.

www.opera.com

Name: Anonymous 2007-03-07 19:46 ID:mV5CccCW

fail for /opt
should be /usr/bin
titanic fail for opera, period

Name: Anonymous 2007-03-08 1:17 ID:C74LSLpU

>>11
Not it shouldn't. It's CLOSED SOURCE, which means it's a BINARY package, you idiot.

Name: Anonymous 2007-03-08 5:55 ID:9fP5ZKe/

>>12
everything else you install is a binary also.

Name: Anonymous 2007-03-08 6:23 ID:FAHiMmBl

>>13
It's CLOSED SOURCE, which means it's a BINARY package, you idiot.

Name: Anonymous 2007-03-08 6:27 ID:poklIC/K

>>14
You're the idiot.  Everything is a binary.

Name: Anonymous 2007-03-08 7:42 ID:f+Ajc9Vf

You're the idiot.  Everything is a binary.
Can I quote that? Like...all the time?

"XML is nice, cause you can edit it with a text editor"
``No you can't! It's a binary. Everything is a binary''

Name: Anonymous 2007-03-08 8:40 ID:kKdPRdOg

>>16
you can't quote that, it's a binary

Name: Anonymous 2007-03-08 8:59 ID:e7foiTes

>>17

1

Name: Anonymous 2007-03-08 8:59 ID:e7foiTes

>>18
0

Name: Anonymous 2007-03-08 9:44 ID:Heaven

>>18
>>19
same person

Name: Anonymous 2007-03-08 10:20 ID:680TYnjG

You all dumbfucks don't know the difference between someone else's binaries and ebuilds that use your own CFLAGS?
Enjoy wasting your hardware.

Name: Anonymous 2007-03-08 10:28 ID:x7lCXj/n

>>21
what if my hardware wass free ?

Name: Anonymous 2007-03-08 11:07 ID:m/bunTuO

>>21

Gentoo is for Ricers

Name: Anonymous 2007-03-08 11:53 ID:FCU868Mm

              / ̄∧_∧ ̄ ̄ ̄ // ̄\\
       __ ⊂/__(´∀` )__  /_⊃___| |\フ ヽ  CFLAGS JUST KICKED
   ,  ´_  /   / ̄ ̄ __ / ̄ ヽ    __ヽ ̄ ̄ |  IN, YO!
  /∠__/―/-。―/――∠_/__∧  |       | ∧_.| 
  ,========――´=============/⌒ヽ=|.=====| | ヽ ̄〕 
  | _   |GENTOO|    _  ″  |⌒| |/   __ /|  )ノ    vroom
  )_旧_∈≡≡≡≡∋_旧_″_|| ノ丿_ -――┘ 丿      vroom!
   \ \_ノ  ̄ ̄ ̄三三三\ \_ノ    三三三三 
    三三三三三三三三三三三三三三三三三三三三三三三三
       三三三三三三三三三三三三三三三三三三三三三三三
          三三三三三三三三三三三三三三三三三三三三三三三三三三
                  三三三三三三三三三三三三三三三三三三
                        三三三三三三三三三三三

Name: Anonymous 2007-03-08 12:20 ID:9fP5ZKe/

>>16
whether you like it or not, an XML file is still a binary file. its just not object code.

Name: Anonymous 2007-03-08 12:22 ID:c/WlUDzU

>>21
Made me look uo teh legendary gentoo cflags intersite.

Name: Anonymous 2007-03-08 12:36 ID:T/Jc5plo

assholes posting binaries in my usenets

Name: Anonymous 2007-03-08 13:29 ID:oYXChKT3

>>22
Your hardware can't be free when it runs proprietary software

Name: Anonymous 2007-03-08 16:42 ID:ynUD4tl0

>>28

My h/w is free and so is my s/w. Opera is for fags.

Name: Anonymous 2007-03-09 3:26 ID:ZVeEZV/M

>>25
You are a dumbfuck.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <topic>
  <title>Dis XML yo</title>
    <var>
      value
    <var>
    <anothervar>
      value
    </anothervar
  </topic>
</xml>

This is a valid XML file. Now please tell me why it can't be edited with a text editor.

Name: Anonymous 2007-03-09 6:44 ID:rkqCBHt3

>>30
sounds liked you've been hooked ;)

Name: Anonymous 2007-03-09 8:19 ID:Jcfwds+u

>>30
IS IT ON THE COMPUTER? YES. IT'S BINARY.

WHAT? YOU THOUGHT REAL TEXT WAS MAGICALLY FLASHED TO THE HARDDRIVE? NOW GTFO.

BITCHES DONT KNOW BOUT MY STANDARDIZED BINARY CODES THAT CORRESPOND TO HUMAN READABLE TEXT.

Name: Anonymous 2007-03-09 9:51 ID:fhgQVUdK

>>16
Learn what binary means. Learn to tell when people are misusing it. Unix people misuse it in two different ways: to speak of files with characters not usually found in text, and to speak of executable files.

Name: Anonymous 2007-03-11 18:55 ID:pEvvL4Tz

YOU MEAN I AM WRITTING IN BINARY ALL THIS TIME?
OH SHI-10010101

Name: Anonymous 2007-03-12 6:30 ID:ST+SO8Xz

text file = ASCII, UNICODE ect
binary file = all others

its to do with the phasing of the information. text files can be loaded moar effectually if they are read in byte by byte (ASCII this means charater by charater). This is true in all OSs, including windows.

Name: Anonymous 2007-03-12 7:53 ID:CtyX2tPj

>>35
ascii, unicode is binary

Name: Anonymous 2007-03-12 12:07 ID:Rx4LJFN7

>>35
text file = octet-stream following a Unicode Transformation Format (UTF), preferrably with BOM, preferrably not using code points lesser than 32 and certain unused code points.
binary file = octet-stream.
shit file = octet-stream using a legacy character set like American Shit Code for Idiots and Imbeciles (ASCII), Shit_JIS, shizo-8859, etc.

Text files cannot be loaded more efficiently than binary files, nor is loading files byte by byte particularly efficient.

Name: Anonymous 2007-03-12 12:21 ID:BNq/VWyy

You fags just don't get it:
Binary: Someone else's emerge. AVOID.
Ebuilds: text files that let you emerge with YOUR CFLAGS. GOOD.

Name: Anonymous 2007-03-15 6:24 ID:3ok4cfAx

It's an abbreviation for binary executable, and the term refers to the distribution's contents. Yes the files are transmitted and stored in binary.
Does this mean that every object in the universe is a chemical impulse and can not possibly be any more because this is the way you transfer and store it?
>>15
>>33
You're unnecessarily pedantic, ie a wanker.
>>24
ROFL. I use gentoo too.

Name: Anonymous 2007-03-15 7:17 ID:7Q/iLKhB

>>30
This is a valid XML file. Now please tell me why it can't be edited with a text editor.

One word.  The forced indentation of code.  Thread over.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List