#####remove last character of file
This commit is contained in:
onceupon 2017-02-10 15:00:54 +08:00 committed by GitHub
parent b130948988
commit ffee25e06b

View File

@ -303,6 +303,10 @@ sed 's=/=\\/=g'
```bash
sed 's/A-.*-e//g' filename
```
#####remove last character of file
```bash``
sed '$ s/.$//'
```