Sulutsivik qarasaasi bash-mi scripti, tamakku qinnuteqarneq regular expression-mi input.txt-iluunniit qaffasimasaat, ilinniartitsisut tammaat atorneqartut, sulutsivimmi output.txt-mi nutaamik.
Qajaqsuunngorpa nuannersorneq, bash script-a pissaaq:

```bash
#!/bin/bash

# Oqaluttuatsuussisamut akilersortartut, taaguullu illit nassaaraat
read -p "Kisitsisitsoq sulloorfigineq sunik: " regex
read -p "Kisitsisitsoq atorneqataaffeq sunik: " replacement

# Sulloorfigineq input.txt-mi akilersorneq, taaguullu illit nassaaraat atorneqataaffeq
sed -e "s/$regex/$replacement/g" input.txt > output.txt

# Nassaaraat pitsanngorsaataasinnaasoq
echo "Sulloorfigineq '$regex' atorneqataaffeq '$replacement'-mi input.txt-mi akilersorneq, output.txt-mi nassaaraat."
```