D
dave
--nextPart9687245.5BTV5vb76H
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hy list,
I would like to append to a ruby script a tarball and a license file.
Both are in the form:
# data........................................
# data........................................
# data........................................
How would you convert the tarball binary data?
The licence text should be centred in a 55 char space.
If I split the license text lines and then gsub(/\n/, '\n') them=20
i have a bad output:
[55 char]
# use pieces of it
# in new free programs; and that you know you can do
=2D----------------
x =3D 0
y =3D 54
lines =3D []
loop {
i =3D f[x..y]
break if i.nil?()
lines.push(("# " + i))
x +=3D 54
y +=3D 54
}
lines.each{|i| puts i }
=2D--------------
Tnx.
=2D-=20
--nextPart9687245.5BTV5vb76H
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iQIVAwUAQvWxGKNg16HTgg0AAQJfvw//cHxL5u3viL1c4xfDlgBkdArwLkIsuUoN
8vXRasfPDsWteAD3ijYyT8Wct5OEA+uXw3z9ZY3QOaCim6xJz/Cb+9cp0iS9MbLr
1kxq90NwWowDgCrUFfrhTlXrsb/dtbcFycvv3hYFNy3iv3E3bCFxS9gSKtSC1gWu
kD7cGuEDl+gNNlQ2OTF8GIAWHy/OTCtk1oXYs9Xr8gCpb/TsZKW7cf5+iz53s4II
T3NgXd8iETf7M/v8VjwjfXNTX9/xjF1/TV/oBbnEmdiE7mvU8PNfXX1slcylYFRZ
VbQCXgNbK0qpJ0EFd7l1IlPJoTalMMRtHvWTZzpzauF9p9FAjTRUE8ZPiak/Rwah
6W5QcSpZjjGLMExaHobm/cTak9WpAnFGyuyJgIEP6eCTek+r6VF6Ng7gww4JOu9Q
KVTduchHX8kQ9FwXjUEi94uTG96YiXNRbvxQsZ2BTqYs1nbMwXA5l3iHBpRQc5WR
ltCofPw9cbnmMeuhPJTdKe/ndOOxVcHYpzzFfKFO/ze1dt1T2X+X/m4+PQWILZmZ
tqr5Ia9FWK2olslwS2HVy7wt8W3V/GghcJA6rBrV5g82WBiRirPgh8lFiFKX9XlM
Y9kShaDrVr7qnECW9sjBqSoqo5h9rr37TkUL0/I7iTrOvnBZ7cp1Hs1LYAgGxMSf
WVcv7a/t8lo=
=W7NE
-----END PGP SIGNATURE-----
--nextPart9687245.5BTV5vb76H--
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hy list,
I would like to append to a ruby script a tarball and a license file.
Both are in the form:
# data........................................
# data........................................
# data........................................
How would you convert the tarball binary data?
The licence text should be centred in a 55 char space.
If I split the license text lines and then gsub(/\n/, '\n') them=20
i have a bad output:
[55 char]
# use pieces of it
# in new free programs; and that you know you can do
=2D----------------
x =3D 0
y =3D 54
lines =3D []
loop {
i =3D f[x..y]
break if i.nil?()
lines.push(("# " + i))
x +=3D 54
y +=3D 54
}
lines.each{|i| puts i }
=2D--------------
Tnx.
=2D-=20
horatio, than are dreamt of in your philosophy.here are more things in heaven and earth,
--nextPart9687245.5BTV5vb76H
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iQIVAwUAQvWxGKNg16HTgg0AAQJfvw//cHxL5u3viL1c4xfDlgBkdArwLkIsuUoN
8vXRasfPDsWteAD3ijYyT8Wct5OEA+uXw3z9ZY3QOaCim6xJz/Cb+9cp0iS9MbLr
1kxq90NwWowDgCrUFfrhTlXrsb/dtbcFycvv3hYFNy3iv3E3bCFxS9gSKtSC1gWu
kD7cGuEDl+gNNlQ2OTF8GIAWHy/OTCtk1oXYs9Xr8gCpb/TsZKW7cf5+iz53s4II
T3NgXd8iETf7M/v8VjwjfXNTX9/xjF1/TV/oBbnEmdiE7mvU8PNfXX1slcylYFRZ
VbQCXgNbK0qpJ0EFd7l1IlPJoTalMMRtHvWTZzpzauF9p9FAjTRUE8ZPiak/Rwah
6W5QcSpZjjGLMExaHobm/cTak9WpAnFGyuyJgIEP6eCTek+r6VF6Ng7gww4JOu9Q
KVTduchHX8kQ9FwXjUEi94uTG96YiXNRbvxQsZ2BTqYs1nbMwXA5l3iHBpRQc5WR
ltCofPw9cbnmMeuhPJTdKe/ndOOxVcHYpzzFfKFO/ze1dt1T2X+X/m4+PQWILZmZ
tqr5Ia9FWK2olslwS2HVy7wt8W3V/GghcJA6rBrV5g82WBiRirPgh8lFiFKX9XlM
Y9kShaDrVr7qnECW9sjBqSoqo5h9rr37TkUL0/I7iTrOvnBZ7cp1Hs1LYAgGxMSf
WVcv7a/t8lo=
=W7NE
-----END PGP SIGNATURE-----
--nextPart9687245.5BTV5vb76H--