awk_process
Manipulate file columns, perform calculations, or apply conditional processing using AWK scripts with MCP SmallEdit. Input a file path and script to generate custom outputs efficiently.
Instructions
Process files using AWK for more complex operations like column manipulation, calculations, or conditional processing
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file | Yes | Input file path | |
outputFile | No | Output file path (optional, defaults to stdout) | |
script | Yes | AWK script to execute |
Input Schema (JSON Schema)
{
"properties": {
"file": {
"description": "Input file path",
"type": "string"
},
"outputFile": {
"description": "Output file path (optional, defaults to stdout)",
"type": "string"
},
"script": {
"description": "AWK script to execute",
"type": "string"
}
},
"required": [
"file",
"script"
],
"type": "object"
}