example sed sebbu

#615
Raw
Author
Anonymous
Created
Dec. 14, 2022, 10:23 p.m.
Expires
Never
Size
1.2 KB
Hits
53
Syntax
Terraform
Private
✗ No
backend "http" {
  address = "${val}/infra"
  method = "post"
}

     &sebbu | sed -i 's/${val}/test/' 615raw.txt                                                                │ Gentoo
                 │17:26:03              &sebbu | single line, returns immediately after modifying the file                                         │ gnu
                 │17:26:35              &sebbu | sed -i 's/val/test/' 615raw.txt                                                                   │ Jemar
                 │17:26:43              &sebbu | or this if it's the variable name you wanted to change                                            │ lard
                 │17:26:56              &sebbu | but usually placeholders have specific prefix/suffix                                              │ Number1Stunna
                 │17:26:56              &sebbu | :D                                                                                                │ Piba
                 │17:27:47        ~socraticDev | that is very nice                                                                                 │ Politik
                 │17:27:53              &sebbu | keep using envsubst if your input already uses variables