Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 47) sorted by relevance

12

/coreutils/tests/head/
Dhead-c.sh20 print_ver_ head
23 vm=$(get_min_ulimit_v_ head -c1 /dev/null) \
28 (head -c1; head -c1) < in > out || fail=1
36 (dd bs=1 skip=1 count=0 status=none && head -c-4) < in1 > out1 || fail=1
45 (ulimit -v $(($vm+8000)) && head --bytes=-$SSIZE_MAX < /dev/null) || fail=1
52 head -c -1 copy > exp1 || framework_failure_
54 head -c -1 $file > out1 || fail=1
Dhead-write-error.sh21 print_ver_ head
29 yes | head -c10M > bigseek || framework_failure_
39 yes | returns_ 1 timeout 10s head --$item=-$N > /dev/full 2> errt || fail=1
44 returns_ 1 timeout 10s head --$item=-$N bigseek > /dev/full 2> errt \
Dhead-pos.sh21 print_ver_ head
27 (head -n $i >/dev/null; cat) < in > out || fail=1
41 (head -n-$n_lines>/dev/null; wc -l) < in2 > n
/coreutils/tests/seq/
Dseq-precision.sh25 seq 999999 inf | head -n2 > out || fail=1
44 seq 1 .1 inf | head -n2 > out || fail=1
49 seq inf inf | head -n2 | uniq > out || fail=1
58 seq 1 .1 0x2 | head -n2 > out || fail=1
72 seq -w 1.1e4 | head -n1 > out || fail=1
/coreutils/tests/df/
Ddf-P.sh32 head -n1 t1 > exp || fail=1
33 head -n1 t2 > out || fail=1
Dskip-duplicates.sh30 export CU_NONROOT_FS=$(grep /. LOCAL_FS | head -n1)
31 export CU_REMOTE_FS=$(grep /. LOCAL_FS | tail -n+2 | head -n1)
/coreutils/src/
Dtsort.c63 static struct item *head = nullptr; variable
291 if (head == nullptr) in scan_zeros()
292 head = k; in scan_zeros()
483 while (head) in tsort()
485 struct successor *p = head->top; in tsort()
488 puts (head->str); in tsort()
489 head->printed = true; in tsort()
506 head = head->qlink; in tsort()
Dptx.c275 static BLOCK head; /* head field */ variable
1386 head.end = before.start; in define_all_fields()
1387 SKIP_WHITE_BACKWARDS (head.end, buffer_start); in define_all_fields()
1389 head.start = left_field_start; in define_all_fields()
1390 while (head.start + head_max_width < head.end) in define_all_fields()
1391 SKIP_SOMETHING (head.start, head.end); in define_all_fields()
1393 if (head.end > head.start) in define_all_fields()
1397 && head.start > left_context_start); in define_all_fields()
1402 SKIP_WHITE (head.start, head.end); in define_all_fields()
1409 head.start = nullptr; in define_all_fields()
[all …]
Dcsplit.c113 static struct buffer_record *head = nullptr; variable
432 if (head == nullptr) in save_buffer()
433 head = buf; in save_buffer()
436 for (p = head; p->next; p = p->next) in save_buffer()
503 if (head == nullptr && !load_buffer ()) in get_first_line_in_buffer()
506 return head->first_available; in get_first_line_in_buffer()
530 if (head == nullptr && !load_buffer ()) in remove_line()
533 if (current_line < head->first_available) in remove_line()
534 current_line = head->first_available; in remove_line()
536 ++(head->first_available); in remove_line()
[all …]
/coreutils/tests/misc/
Dyes.sh31 yes "$(printf %${size}s '')" | head -n2 | uniq > out.2
41 yes $(seq $i) | head -n2 > out.2
Dcoreutils.sh28 coreutils --coreutils-prog=yes | head -n10 | uniq > out
/coreutils/tests/tail/
Dpipe-f.sh20 print_ver_ tail test head
51 head -n2 > out2
/coreutils/tests/shuf/
Dshuf.sh113 shuf --rep -i 0-10 | head -n 1000 > exp || framework_failure_
143 shuf --rep -e A B C D | head -n 1000 > exp || framework_failure_
149 printf "A\nB\nC\nD\nE\n" | shuf --rep | head -n 1000 > exp || framework_failure_
/coreutils/man/
Dtail.x6 head(1)
Dhead.x2 head \- output the first part of files
Denv.x51 sh \-c 'env \-\-default-signal=PIPE seq inf | head \-n1'
/coreutils/tests/csplit/
Dcsplit-heap.sh29 && { yes | head -n2500000; echo n; } | csplit -z - %n%1
/coreutils/tests/sort/
Dsort-NaN-infloop.sh27 yes nan | head -n128095 | timeout 60 sort -g > /dev/null || fail=1
/coreutils/tests/od/
Dod-multiple-t.sh33 linewidth=$(head -n1 out-raw | wc -c)
/coreutils/tests/rm/
Drm5.sh44 tr '?' '\n' < out | head --bytes=-1 | sed 's/^ //' > o2
/coreutils/tests/printf/
Dprintf-surprise.sh61 head -c 10 fifo > out & pid=$!
/coreutils/tests/help/
Dhelp-version-getopt.sh71 env yes -- --help | head -n1 > out
/coreutils/tests/ls/
Ddired.sh61 extracted_filename=$(head -c "$2" out | tail -c +"$(($1 + 1))")
Dstat-free-symlinks.sh64 || { fail=1; head -n30 log*; }
/coreutils/tests/split/
Dfilter.sh52 yes | head -n200K | split -b1G --filter='head -c1 >/dev/null' || fail=1

12