On 13-01-2015 18:30, alex lupu wrote:
> BLFS Book version 2015-01-12, PHP-5.6.4
>
> 1. I do not understand this move:
>
> mv -v /etc/php-fpm.conf{.default,}
>
> (second command after 'make install')
It is using brace expansion. It is an excellent form to decrease the
size of commands, by writing only once the common part.
Try:
$ echo /etc/php-fpm.conf{.default,}
/etc/php-fpm.conf.default /etc/php-fpm.conf
This means that
mv -v /etc/php-fpm.conf{.default,}
is equivalent to
mv -v /etc/php-fpm.conf.default /etc/php-fpm.conf
See, e.g. "Bash Brace Expansion Tutorial: 6 Examples of Expanding
Expressions within Braces":
http://www.thegeekstuff.com/2010/06/bash-shell-brace-expansion/
> 2. Under
> For the "Single HTML" file:
>
> I downloaded 'php_manual_en.html.gz' (using wget, FWIW)
>
> and later, at
>
> gunzip -v /usr/share/doc/php-5.6.4/php_manual_en.html.gz
>
> 'gunzip' complained that the file was "not in gzip format"
>
> I tend to agree with gunzip:
>
> If I changed the name to just "php_manual_en.html" (for cleanliness),
> 'lynx' (as a quick choice) could read it directly (and 'less' also liked
> it).
This does not happen to me:
$ wget -c http://br1.php.net/get/php_manual_en.html.gz/from/this/mirror
-O php_manual_en.html.gz
(Without the -O ..., it downloads the same file, but with the name "mirror".
$ file php_manual_en.html.gz
php_manual_en.html.gz: gzip compressed data, was "php-bigxhtml.html",
from Unix, last modified: Fri Jan 9 08:14:43 2015, max compression
>
> Happy New Year,
Thanks. The same for you.
--
[]s,
Fernando
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page