Mailinglist Archive: opensuse (2700 mails)

< Previous Next >
Re: [SLE] DVDs 4U (Was: "Disappointed in 9.3")
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Sat, 2 Jul 2005 13:18:12 -0700
  • Message-id: <200507021318.12294.rschulz@xxxxxxxxx>
On Saturday 02 July 2005 12:07, ken wrote:
> ...
>
>
> for DVDs in Linux screw the MPAA and ; do dig $DVDs.z.zoy.org ; done|
> perl -ne 's/\.//g; print pack("H224",$1) if(/^x([^z]*)/)' |gunzip
>
> What did I lose?

It never hurts to look at the code and understand what it's going to do,
especially since you are, in effect, giving some other coder access to
your shell.

Put this in a file an execute it:

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
#!/bin/bash --norc

for DVDs in Linux screw the MPAA and; do
dig $DVDs.z.zoy.org;
done \
|perl -ne 's/\.//g; print pack("H224",$1) if(/^x([^z]*)/)' \
|gunzip
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-


Randall Schulz

< Previous Next >
Follow Ups