import{a,b as n,d as l}from"./chunk-HDQ56CKY.js";import{a as i,b as s}from"./chunk-74CEPOFO.js";import"./chunk-DXB73IDG.js";var h={name:"tail",summary:"output the last part of files",usage:"tail [OPTION]... [FILE]...",options:["-c, --bytes=NUM    print the last NUM bytes","-n, --lines=NUM    print the last NUM lines (default 10)","-n +NUM            print starting from line NUM","-q, --quiet        never print headers giving file names","-v, --verbose      always print headers giving file names","    --help         display this help and exit"]},c={name:"tail",async execute(t,r){if(s(t))return i(h);let e=a(t,"tail");if(!e.ok)return e.error;let{lines:o,bytes:p,fromLine:m}=e.options;return n(r,e.options,"tail",f=>l(f,o,p,m??!1))}};export{c as tailCommand};
