https://bugzilla.wikimedia.org/show_bug.cgi?id=25630

--- Comment #2 from jida...@jidanni.org 2010-10-23 21:01:38 UTC ---
First, there should be a comment in the file saying 'for instructions use
$ php edit.php --help'

Then the should be an example of how one could use it to say add a line
at the third line of a file:

wget http://en.wikipedia.org/wiki/Food?action=raw -O Food
ed Food <<EOF
3i
bla bla
.
w
q
EOF
php edit.php Food < Food

Wait, what do I see in getText.php!:

 * Outputs page text to stdout, useful for command-line editing automation.
 * Example: php getText.php "page title" | sed -e '...' | php edit.php "page
title"

Well, if only that example also was there in the edit.php usage message...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to