10 lines
303 B
Bash
10 lines
303 B
Bash
|
#!/bin/bash
|
||
|
#while IFS= read -r line; do echo "$line" | sed 's| //.*||' | go run main.go
|
||
|
|
||
|
# while IFS= read -r line; do echo "$line" | sed 's|//.*||'; done | go run main.go
|
||
|
|
||
|
|
||
|
sed -u 's|//.*||' | go run main.go
|
||
|
# ^ sed unbuffered.
|
||
|
# cat | tee -a log.f | sed -u 's|//.*||' | go run main.go | tee -a log.f
|