I'm trying to replace lines that match the regex
=> '.*', in one file with lines from another file.
Two example files.
'text_clear' => 'Clear', 'text_search' => 'Search', 'text_enabled' => 'Enabled',
emptied lost turned off
I'm trying to run a linux command using awk/sed/grep to create a third file that would output
'text_clear' => 'emptied', 'text_search' => 'lost', 'text_enabled' => 'turned off',
I've been successful in extracting what I want to edit a python script, but if possible I want to just use a linux command to do both.
I've been racking my head over this for 3 hours now. Any help would be appreciated.