Extract file extension: Difference between revisions

Line 2,129:
'CharacterModel.3DS'
'.desktop'
'a.desktop'
'document'
'document.txt_backup'
Line 2,140 ⟶ 2,141:
CharacterModel.3DS -> 3DS
.desktop ->
a.desktop -> desktop
document ->
document.txt_backup -> txt_backup
/etc/pam.d/login -> </pre>
Note: the task's descriptions seems wrong to me; on a Unix machine, files beginning with "." are treated as hidden files (eg. in ls) and the suffix can be considered to be empty. As opposed to "a.desktop".
 
=={{header|Tcl}}==
Anonymous user