I have a list of sentences in a tcsh script, which are separated by '\n' and may have white spaces inside. I want to show them in the style of ls, so I did "echo $list| column". it works fine when there is no color used. the result is as below   Then I need to highlight some items which are changed(latest 3 choices) each time to show up. I add the color sequences (\e[33m and \e[0m) around the items I want to highlight, and still put them into the $list.  When I show them with "echo $list | column", the color is ok, but the text are misaligned as following picture.  Note, I tried that if not use '| column', the strings showed correctly in one column, even though not the style I want.  Is there is some solution for the problem?  BTW, I did some search and it seems to be a bug of column. Is there any maintainer for column? Where should I report the issue?  NOTE: I've read  before the post. His format is fixed, while mine to be colored items are dynamic. So simply use printf or add color after column can not work
I'm colorizing the header of a table formatted with column -ts $'\t'  Works well without color codes, but when I add color codes to the first line column doesn't properly align the output.  Without colored output it works as expected: printf "1\t2\t3\nasdasdasdasdasdasdasd\tqwe\tqweqwe\n" | column -ts $'\t'  But when adding color on the first line column doesn't align the text of the colored row: printf "\e[7m1\t2\t3\e[0m\nasdasdasdasdasdasdasd\tqwe\tqweqwe\n" | column -ts $'\t'  Observed this behaviour both on Ubuntu Linux and Mac OS X.
What really allows airplanes to fly? What aerodynamic effects actually contribute to producing the lift on an airplane?  I know there's a common belief that lift comes from the Bernoulli effect, where air moving over the wings is at reduced pressure because it's forced to travel further than air flowing under the wings. But I also know that this is wrong, or at best a minor contribution to the actual lift. The thing is, none of the many sources I've seen that discredit the Bernoulli effect explain what's actually going on, so I'm left wondering. Why do airplanes actually fly? Is this something that can be explained or summarized at a level appropriate for someone who isn't trained in fluid dynamics?  (Links to further reading for more detail would also be much appreciated) Detecting the onload event of a window opened with window.open When are stopovers permitted on Japan Railways (JR) trains? The only good way of creating circles in ArcMap is using true arc, (compound curves) but I need to convert those to vertex (densifying) because of a compatibility problem. I need info for geodatabase and SDO_geometry (arcsde)  and yes there is a way. I use:  UPDATE layer1 a SET arctype = 'compound' WHERE has_compound_curves(a.shape) &lt;&gt; 0;   and then using ET Geotools to densify  layer by layer.  But there should be easier way of doing this straightforward in Oracle or ArcMap, and I just want to densify the features that have true arc. I don't want any unnecessary vertices on straight lines and so on.  How can I identify true arcs in ArcMap, and how can I densify them as fast and easy as possible?  Same for Oracle SQL. I have been trying to install ubuntu (I tried 12.04LTS, 12.10, 12.10-secure-remix) using the wubi installer on Windows 8 and all the three times ran into the same problem showing some cannot find /ubuntu/winboot/wubildr when I tried to start ubuntu.  I tried to change the boot settings from UEFI to Legacy and then my laptop restarted and showed that "No operating System Found".  I then tried to install Ubuntu using a cd and after a lot of effort and using boot repair,etc. I landed into a new trouble. When I select UEFI on, the laptop loads Windows and windows too does not detect ubuntu. When I select Legacy mode, it starts ubuntu, shows me an option to start windows 8 but gives an error showing windows failed to load.  So in legacy mode, i am able to use only ubuntu and in UEFI mode, I am able to use only Win8. Please explain any process of starting windows in legacy mode (which I tried without any success) or starting ubuntu in UEFI mode. Error: class X is public should be declared in a file named X.java Double dispatch in C#? I have heard/read the term but don't quite understand what it means.  When should I use this technique and how would I use it? Can anyone provide a good code sample? Which are the word orders that can be found in English? Could anyone give me an explanation of the meaning of "get one's finger in the air" and the usage of it? What happens to the semiconductor in an LED when it is given voltage that it cannot handle? bash chained logical operator execution order, lazy evaluation Script to remove certain span elements from an HTML file Book series about aliens who put "caps" on people to control them I remember reading a series when I was around 7th or 8th grade about aliens who had taken over Earth by putting metal caps on people when they were "entering adulthood" to control them (not direct control, but it would keep them from rebelling). There was a faction of people who able to escape and had fake caps and would save teens who were about to be capped.  The main protagonist was a teen boy who was a boxer (or training to be a boxer or something). The aliens would hold tournaments for the humans and whoever won would be "worthy" to serve as personal slaves to the aliens.     The protagonist won and was able to get inside to try and learn more about the aliens from the inside. Is there a way to give promo/coupon codes for people to download your app for free? How do you iterate over each file in a directory with a .bat or .cmd file?  For simplicity please provide an answer that just echoes the filename or file path. Fontspec causes long underscores My collaborator added \usepackage[no-math]{fontspec} to a document we're working on. The result is that \_ underscores become v. long: cf. pictures below.   \documentclass{article} \usepackage[no-math]{fontspec} \pagestyle{empty}  \begin{document} \textrm{metric\_space} \end{document}   With fontspec:    Without fontspec:   The underscores are about twice as long with fontspec, and also much thinner. My question is, how do I get back to the original width? (Ideally I would like to preserve the thinness -- it looks much nicer than the original.)  In case someone asks, "why are you using \_?", the short answer is that I need to typeset identifiers involving an underscore. See  for an example in context. I'd be happy with using something other than \textrm, if it looks decent in the context of that example. I'm struggling to understand the core reason to invest in stocks as a minority shareholder. Majority shareholding makes more sense as you effectively control the company, so you can pay yourself dividends or even sell the entire company at will. You can guarantee your own payback.  However, as a minority shareholder, you don't get to make any of these decisions. You're basically just hoping to eventually, some day get paid, if the majority holders decide so.  Why do so many investors agree to pay now huge sums of money (trillions in total) for something that may eventually pay dividends, and even in the best case, these dividends are only a fraction of the price you paid to acquire these stocks?  The average annual dividend rate for the US stock market is 2%. That means if you bought 100 million worth of shares, you'd have to wait 50 years to recover your investment.  Of course, the most probable way you'd eventually get liquidity for these shares is by selling them to some other starry-eyed investor - which makes the whole thing seem like a giant Ponzi scheme.  Given all that, it's unclear to me why the public is willing to spend so much money to acquire minority shares in companies. Reference - What does this regex mean? Migrate to *any* site? Creating checkbox parameter in Python script tool for ArcGIS Desktop? I am working on creating an ArcGIS tool from a Python script I am writing.  I am wondering if it is possible to have a checkbox parameter.    I want to have a parameter where the user selects a feature class, then from the feature class the user will choose the field for the upper most layer in their model, then I want the user to be able to choose what layers they want the script to run on with a checkbox structure derived from the upper most layer field.    Is this possible with python, and ArcGIS Desktop?