Ubuntu – replace a specific text in all files with a text from its own file name in linux
Good Day! I have files in Ubuntu like: ZAF_MM_CYCLE_K051.XLS ZAF_MM_CYCLE_K052.XLS ZAF_MM_CYCLE_K053.XLS which are copy of a file "ZAF_MM_CYCLE_K036", the code of file is K036 File contents are the same LOADED_AGRS ZAF_MM_CYCLE_K036 AGG_DEFINE 200ZAF_MM_CYCLE_K036 $WERKS K036 AGG_1521 200ZAF_MM_CYCLE_K036 Here I have…