Hi,
I have number of files in a dir name ends with ?.err where ? is single literal. For example, the file names are:
MMLGO_3010_20100201100500.3010.5.err
MMLGO_3010_20100201100500.3010.7.err
I want to get the name MMLGO_3010_20100201100500.3010
Facts:
The length of MMLGO_3010_20100201100500.3010 can vary.
I'm very new in scripting. Can we use sed or awk to get the result? Thanks in advance!
I have number of files in a dir name ends with ?.err where ? is single literal. For example, the file names are:
MMLGO_3010_20100201100500.3010.5.err
MMLGO_3010_20100201100500.3010.7.err
I want to get the name MMLGO_3010_20100201100500.3010
Facts:
The length of MMLGO_3010_20100201100500.3010 can vary.
I'm very new in scripting. Can we use sed or awk to get the result? Thanks in advance!