note 50198 added to function.highlight-file
| From: | VladAlexaMancinivalexa at nextcode dot org | Date: | Mon, 21 Feb 2005 19:19:48 +0000 |
| Subject: | note 50198 added to function.highlight-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85321@lists.php.net to get a copy of this message | ||
Here is a small bash script that you can type at the console to make recursive symbolic .phps links
for all your .php files starting at your curent directory
for f in
find -name '*.php'; do ln -s basename $f
$f's'; done
NOTE: You doubtedly want to do this at / as it will make such symlinks for all the php files on your
filesystem
NOTE: This places the symlinks in the same directory as the php file that they are simlinking
And a simpler one that is not recursive and does the same thing but only for the php files in your
current directory
for f in *.php; do ln -s $f $f's'; done
----
Manual Page -- http://www.php.net/manual/en/function.highlight-file.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50198
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50198&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50198&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50198&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50198&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50198&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50198&report=yes
Search -- http://master.php.net/manage/user-notes.php