|
SedVi usage examplesThe following SedVi command combined with 'wc' counts the number of empty lines in the input: sedvi -N ':s/\s//g' '$Q:w' | wc To format the input in html, use this command: (Note that a lot of improvements on this are possible, but this just shows the basic potential of SedVi.) sedvi ':s/</</g' ':s/>/>/g' 'I<p>' 'A</p>' -si 'i<html>' -sf 'i</html>' |
© 2009, Dave van Soest