They are css controlled. The nice thing about this is that if you create a userContent.css file for Firefox, then you can override the defaults. All code or pre tags I see, on any website, have the size, color and font I prefer. It makes things much easier on my eyes. See here for more info: http://www.mozilla.org/unix/customizing.html
|
Double post - sorry.
|
Quote:
|
Quote:
I somehow got attached to SED---maybe because I like puzzles. I have only been using SED for 2years, but have been marginally competent for less than a year. |
Not to rain on the parade unduly, but the sed command doesn't seem to me to flip the lines (it also leaves a trailing final comma). Output:
Code:
telemachus ~ $ sed -n -e '{s/$/,/;H}' -e '${x;s/\n/ /gp}' < animals |
Quote:
I missed the part about flipping the words. (Getting rid of the last comma is easy.) Once we have the comma-separated list, I assume that AWK could do the rearranging. I'll bet that SED can do it also, but it's not jumping out at me. But then, OP has gone missing, so do I really have to work on this??....;) |
Here's a start...
Code:
sed -r 's/([^ ]+) ([^ ]+)/\2 \1/g' filename one two three four becomes: two one four three 1 2 3 4 5 becomes 2 1 4 3 5 |
Quote:
|
All times are GMT -5. The time now is 06:34 AM. |