PageSourceSearch

https://ml-infra-toloka-tangle-public.hf.space/assets/bash-C3Eco8dr.js

js ml-infra-toloka-tangle-public.hf.space collected 2026-10-04 10:19:37 UTC 576 bytes, 25 lines download raw bytes

1const t=`name: Filter text using shell and grep
2inputs:
3- {name: Text}
4- {name: Pattern, default: '.*'}
5outputs:
6- {name: Filtered text}
7metadata:
8  annotations:
9    author: Your Name <[email protected]>
10implementation:
11  container:
12    image: alpine
13    command:
14    - sh
15    - -ec
16    - |
17      text_path=$0
18      pattern=$1
19      filtered_text_path=$2
20      mkdir -p "$(dirname "$filtered_text_path")"
21
22      grep "$pattern" < "$text_path" > "$filtered_text_path"
23    - {inputPath: Text}
24    - {inputValue: Pattern}
25    - {outputPath: Filtered text}`;export{t as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.