repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update repository
[cmdllinux.git]
/
bash_n_examples
/
bash
/
file_end
/
_file_end_linefeed.sh
blob
96045c52eaeaf337ba283481b3cb925f024f651f
1
echo
"asd"
>
asd
2
tail
-c
1
asd |
od
-x
|
head
-n
1
| cut
-d
' '
-f
2
3
SIZE
=
`stat -c %s asd`
4
echo
`od -v -A n -t x1 -N 1 -j $(expr
$SIZE
- 1) asd`