File: test.sh

package info (click to toggle)
slocate 3.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 236 kB
  • ctags: 116
  • sloc: ansic: 1,898; sh: 224; makefile: 80
file content (16 lines) | stat: -rwxr-xr-x 196 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

i=0
inc=128

while :
do
    i=$(($i+$inc))
    echo "B: $i"
    time src/slocate -b $i >/dev/null
    echo "-------------"
    if [ $i -gt 16384 ] ; then
        break
    fi
    
done