What the heck is this in my ~

Ryan Schmidt ryandesign at macports.org
Sat Jul 10 16:09:30 PDT 2010


On Jul 10, 2010, at 17:50, Scott Haneda wrote:

> On Jul 10, 2010, at 3:03 PM, Ryan Schmidt wrote:
> 
>> On Jul 10, 2010, at 16:42, Scott Haneda wrote:
>> 
>>> I have my bash_history set to, among other things:
>>>  export HISTCONTROL="ignoredups"
>>>  export HISTSIZE=2500
>>> 
>>> Here is a snip of the port commands I have used from a `grep -i port ~/.bash_history`
>>>  $grep -i port ~/.bash_history 
>>>  port info smartmontools
>>>  sudo port -d install smartmontools +universal
>>>  port smartmontools
>>>  port info smartmontools
>>>  sudo port install smartmontools
>>>  port contents --->  Computing dependencies for smartmontools
>> 
>> Well, there you go: right there, you created the empty file "Computing" in whatever directory you were in when you ran that command (and received the error message "Error: contents does not accept ---").
> 
> Ok Mr. CSI :)
> I may concede that "Computing" is possible from there:
> http://dl.dropbox.com/u/340087/drops/07.10.10/mp-c0f17eba-014445.png
> 
> But the rest, yes, they are MP's keywords, and they could have been on my clipboard.  Look at the dates, all the same time, so they would have been all in one paste.  Any estimations on how the rest of the files where made?  I can see how one was made, but I'm not getting how the entire string of them was made.

Yes, just as Brandon said. Install or upgrade a port. I used zlib for this example because it builds quickly. I got the following output:

--->  Computing dependencies for zlib
--->  Fetching zlib
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib
--->  Staging zlib into destroot
--->  Installing zlib @1.2.5_0
--->  Activating zlib @1.2.5_0
--->  Cleaning zlib

Copy that entire block of text to the clipboard. Now paste it into the Terminal. If you have write access in the directory you're in, the files are all created.

$ ls -l
total 0
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Activating
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Applying
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Building
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Cleaning
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Computing
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Configuring
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Extracting
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Fetching
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Installing
-rw-r--r--  1 rschmidt  wheel  0 Jul 10 18:08 Staging





More information about the macports-users mailing list