I knew I am not clear myself because I am not a techie person.
This morning, I reviewed the Similar Thread section and found a solution to separate the file name fields using the awk command.
For example, a file named �XXXX.12345.YYYY� must be changed to �XXXX.12345�.
The echo result of the command line as echo �XXXX.12345.YYYY� | `awk -F. �{print $1}'` is �XXXX�. However, I need to use the same command line above for combining the first two fields of the file named �XXXX.12345� Is there a way to show the results of the first two fields of the file name?