我在包含长文件名的组织模式表中有一列。文件名中有趣的部分是后几个字符,而不是前几个。例如,给定以下文件:
/data/capture/abcd_spectrum_01292000.dat
/data/capture/abcd_spectrum_02251435.dat
/data/capture/abcd_spectrum_02251847.dat
/data/capture/abcd_spectrum_02251848.dat
/data/capture/abcd_spectrum_02251848.dat
/data/capture/abcd_spectrum_02251849.dat
/data/capture/abcd_spectrum_02251851.dat
/data/capture/abcd_spectrum_02251852.dat
/data/capture/abcd_spectrum_02251852.dat
/data/capture/abcd_spectrum_02270910.dat
我希望我的组织表如下所示:
| File | TD | FD | MF | Notes: |
|-----------------+----+----+----+----------------------|
| <r15> | | | | <l20> |
| <=_01292000.dat | | | | |
| <=_02251435.dat | | | | |
| <=_02251847.dat | | | | |
| <=_02251848.dat | | | | |
| <=_02251848.dat | | | | |
| <=_02251849.dat | | | | |
| <=_02251851.dat | | | | |
| <=_02251852.dat | | | | |
| <=_02251852.dat | | | | |
| <=_02270910.dat | | | | |
但是它看起来像这样:
| File | TD | FD | MF | Notes: |
|-----------------+----+----+----+----------------------|
| <r15> | | | | <l20> |
| /data/capture=> | | | | |
| /data/capture=> | | | | |
| /data/capture=> | | | | |
| /data/capture=> | | | | |
| /data/capture=> | | | | |
| /data/capture=> | | | | |
| /data/capture=> | | | | |
| /data/capture=> | | | | |
| /data/capture=> | | | | |
| /data/capture=> | | | | |
是否可以使右对齐的列截断到左侧,以便我可以看到条目的最右边部分?