Làm thế nào để hợp nhất nộp hai thuộc tính, sử dụng kịch bản shell ví dụ: - nếu tôi có nộp hai thuộc tính nhưMerge hai thuộc tính tập tin sử dụng kịch bản shell
first.properties
/test/file="anish"
/test/version=3.0
second.properties
/test/author=nath
/test/version=2.0
nếu tôi nhập first.properties qua second.properties sau đó phổ biến tài sản hiện có nên lấy từ first.properties nên đầu ra của tôi sẽ giống như
final.properties
/test/file="anish"
/test/version=3.0
/test/author=nath
nó hoạt động như một sự quyến rũ – anish