update repository
[cmdllinux.git] / bash_n_examples / bash / file_end / _file_end_linefeed.sh
blob96045c52eaeaf337ba283481b3cb925f024f651f
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`