Sed using a pattern variable at the start of the line doesn't work
I'm trying to make an script that replaces lines that starts with a pattern given by the lines of other file.
Example lines of the base file: Code:
& NAME 1 Code:
UH 24 1 27.68 1 I've made the script below but the sed doesn't work. Code:
while IFS= read -r line Thanks in advance! |
This should do it
Code:
#!/bin/bash After the conversion has been done you can then copy BASE.TXT.HOLD to BASE.TXT if you need to. |
All times are GMT -5. The time now is 10:00 AM. |