GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  METAFY (1)

.ds Aq ’

NAME

metafy - Change the metasyntactic words in your text

CONTENTS

SYNOPSIS

<B>metafyB> [ --help ] [ --version ] [--force-random] [theme[/category]:]theme[I>category>] [ file ... ]

DESCRIPTION

<B>metafyB> filters any metasyntactic word and replace them with words from any Acme::MetaSyntactic theme. This script works as a filter or directly modifies the files given on the command-line.

A few examples should make it easy to understand what it does and how it works:
o Replace words from the foo theme by words from the batman theme:



    $ metafy foo:batman



o Replace the French metasyntactic words by the classic English ones:



    $ metafy foo/fr:foo/en



o Replace any word from the batman theme by a random one from the donmartin theme. The replacement will be different every time:



    $ metafy --force-random batman:donmartin



o Replace words from a theme by words from the same theme (for example if you didn’t like the first run):



   $ metafy batman



In other words, if from is not given, it’s the same as to.

o Modify a bunch of files in-place:



    $ metafy --in-place foo:batman *.c



There is currently no way to create backup files (like perl’s -i option allows).

Each word from the original theme is replaced by the same word of the target theme. However, if the target theme does not contain enough words to map to the words from the original theme used in the file, then the same words maybe used more than once. <B>This may break programs!B>

The option --force-random will certainly break your stuff.

COMMAND-LINE OPTIONS

The following command-line options are available (and can all be abbreviated):

    Metasyntactic options

--force-random Compute the replacement for each word every time it’s needed. <B>This will definitely break any program!B>
--in-place Force in-place edition

    Informative options

The program will exit if any of these options is selected. However, these options can be combined.
--themes Print the list of available themes.
--version Print version information.
--help Print a short help message.

AUTHOR

Philippe BooK Bruhat, <book@cpan.org>.

COPYRIGHT

Copyright 2006 Philippe ’BooK’ Bruhat, All Rights Reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 METAFY (1) 2013-10-14

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.