Range

Qedit 5.7 for HP-UX

Home Previous Next


Range

A range is just a series of lines defined by a starting line number, a slash (/) and an ending line number. ALL is short for FIRST/LAST and @ is short for ALL. If the ending line is left off, Qedit assumes LAST. You can shorten a range like 516/516.554 to 516/.554.

/a 20=100/120 {copy range 100/120 after line 20}

/c "X"Y" */200 {change X to Y in current line to 200}

/delete all {delete the range ALL}

/keep tF3 [/200 {write the range [/200 to a file}

/list 100/ {list the range 100 to LAST}

/m 1111/.99 {modify the range 1111/1111.99}

/list last-10/ {list the last 11 lines in the file}

/l @ {list the entire workfile}

/zz 5/10;l zz {mark a range, then list it}


Home Previous Next