[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Including only a part of an external source code
Yann Dirson <ydirson@fr.alcove.com> writes: > file-18-24: file > tail +18 $< | head -6 > $@ > > (untested, there may be one-off bugs in this code) Using 'sed' might be more straight-forward here, e.g., sed -ne '3,23p;' $< > $@ That prints lines 3 thru 23. -- ...Adam Di Carlo..<adam@onshore-devel.com>...<URL:http://www.onshored.com/>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC