So, as part of my application, I need it to read data from a text file, and get elements between curly brackets.
e.g:
Server_1 {
/directory1 /directory2
}
Server_2 {
/directory1
/directory2
}
Then something like, if Server == Server_1
, print the directories.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…