2 つの異なるパスに 2 つのファイルがあります。インストール済みバージョンを file1 から file2 にコピーしたい
ファイル 1: VersionInfo.Properties
:
Installed Version:13.9.0-9
Previous Version:13.8.0-2
ファイル 2:Install.sh
#!/bin/bash
--- #some content is there
----
uninstall_and_install_rpm component 13.7.0-3
-----
------
望ましい出力:
ファイル 2:Install.sh
#!/bin/bash
--- #some content is there
----
uninstall_and_install_rpm component 13.9.0-9
-----
------