Dec-16-2018, 05:10 AM
i have many times wanted a command that can do line-by-line slicing of files. so, i'm thinking of writing it. the idea works like this. a file will be modified by having a slice of that file replaced by a slice of another file. if slice specs are not given, the whole file is involved. the unit of slice is lines. if the file to be modified does not exist, then it is created initially empty. the first version will use numbers for slice indexing. then later i will add slicing by string search (or maybe re search) where either or both indexes can be specified by a string (or re) to find the two lines to define the slice. a - prefixing a string will mean searching in reverse. a sequence of strings or numbers means a sequence of stepping to locate begin and end to define the slice.
any suggestions?
any suggestions?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.