{
    "mode": "perldoc",
    "parameter": "Filter::sh",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Filter%3A%3Ash/json",
    "generated": "2026-06-13T21:43:24Z",
    "synopsis": "use Filter::sh 'command' ;",
    "sections": {
        "NAME": {
            "content": "Filter::sh - sh source filter\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Filter::sh 'command' ;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This filter pipes the current source file through the program which corresponds to the \"command\"\nparameter using the Bourne shell.\n\nAs with all source filters its scope is limited to the current source file only. Every file you\nwant to be processed by the filter must have a\n\nuse Filter::sh 'command' ;\n\nnear the top.\n\nHere is an example script which uses the filter:\n\nuse Filter::sh 'tr XYZ PQR' ;\n$a = 1 ;\nprint \"XYZ a = $a\\n\" ;\n\nAnd here is what it will output:\n\nPQR = 1\n",
            "subsections": []
        },
        "WARNING": {
            "content": "You should be *very* careful when using this filter. Because of the way the filter is\nimplemented it is possible to end up with deadlock.\n\nBe especially careful when stacking multiple instances of the filter in a single source file.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Paul Marquess\n",
            "subsections": []
        },
        "DATE": {
            "content": "11th December 1995.\n",
            "subsections": []
        }
    },
    "summary": "Filter::sh - sh source filter",
    "flags": [],
    "examples": [],
    "see_also": []
}