I'm using IBM AIX which doesn't have much support like sed -i and sed with \t is not working in my case.  I would like to replace replace NotApplicable string with a single space ' ' then replace @@@ multi-char-delimiter with a tab delimiter, in a specified order using single command be it awk, or sed.  I tried using sed as following but it didn't work. Couldn't add search and replace for NotApplicable with a ' ' single space in below command.     sed 's/@@@/\t/g' file.csv > file.xls   Sample data.  cola@@@colb@@@colbc test@@@test@@@test test@@@NotApplicable@@@test 123@@@145@@@567 333@@@444@@@NotApplicable  cola    colb    colbc test    test    test test            test 123     145     567 333     444
0:root@SERVER:/root # echo "something" | sed -e 's/^/\t/g' tsomething 0:root@SERVER:/root #    AIX/ksh .. why doesn't it works? I just want to put a "tab" before every line!
I've done numerous WP sites, written my own plugins, run my own server, etc etc.  But I have not seen this before. I just installed a fresh 4.7.1 and installed the  and all its plugins.  When I went to add media files, I got:  Maximum upload file size: 2 KB.   I deactivated all plugins one by one...no dice. My PHP memory limit is set to 256MB for this installation via wp_config.php.  Googling the 2 KB limit turned up no results.   Anyone seen this before or know how to fix this limit? Everything that I have read says that iWorks/ iMovie etc should be free for Mac users after 1 September 2013.   I already bought Pages but want Numbers and iMovie. My MacBook Pro with retina is early 2015 and I am being charged.    Why is this please? Is it safe to format msftres, msftdata and hidden partitions? Synonym for "Fellow Sufferers"? Topology: Proof that a finitely generated cone is closed Which way should arrows point in a collapsible accordion? Left/down … down/up? "Timed Out" error when trying to join server EXTRA PROBLEM I have NEI on minecraft with some other mods and NEI is supposed to have a saves thing on the left, and items on the right. The only thing on the left is the options. I want to see the saves and time changing options too.  Cheat Mode When I click on a item to get it it keeps showing me the recipe. Though in the options menu from NEI it is on cheatmode. I saw another post saying I need to change something to this lockmode=-1 or cheatmode=2 but it is already that way. That didn't work how do i get it to give me the items and also recipe when I press R. How do I get object names to appear in the render? In my scene I have multiple objects (30+). In the viewport I have the handy control of selecting (in the Properties Editor) Object> Display> Name and copying to selected.  This is beautiful for diagrams etc. as wherever my view is at whatever distance these labels have been placed instantly, always face me and are always the same size.  How can you get these to display in a rendered view?  Is the ONLY option to manually create a label for each object, get them to track to your camera (Probably have to track to an empty miles behind your camera rotation otherwise they offset if your camera isn't facing exactly front on to an object) and add some sort of scaling property to change depending on how far away you are? How bad is it to use display: none in CSS? I've heard many times that it's bad to use display: none for SEO reasons, as it could be an attempt to push in irrelevant popular keywords. A few questions:   Is that still received wisdom? Does it make a difference if you're only hiding a single word, or perhaps a single character? If you should avoid any use of it, what are the preferred techniques for hiding (in situations where you need it to become visible again on certain conditions)?   Some references I've found so far:       If you're straight-out using CSS to hide text, don't be surprised if that is called spam. I'm not saying that mouseovers or DHTML text or have-a-logo-but-also-have-text is spam; I answered that last one at a conference when I said "imagine how it would look to a visitor, a competitor, or someone checking out a spam report. If you show your company's name and it's Expo Markers instead of an Expo Markers logo, you should be fine. If the text you decide to show is 'Expo Markers cheap online discount buy online Expo Markers sale ...' then I would be more cautious, because that can look bad."   And  on the same article     We can flag text that appears to be hidden using CSS at Google. To date we have not algorithmically removed sites for doing that. We try hard to avoid throwing babies out with bathwater.   Eric Enge      The legitimate use of this technique is so prevalent that I would rarely expect search engines to penalize a site for using the display: none attribute. It’s just very difficult to implement an algorithm that could truly ferret out whether the particular use of display: none is meant to deceive the search engines or not. Finding specific records of US WW2 veterans? I have a WinForms app that I am trying to make full screen (somewhat like what VS does in full screen mode).  Currently I am setting FormBorderStyle to None and WindowState to Maximized which gives me a little more space, but it doesn't cover over the taskbar if it is visible.  What do I need to do to use that space as well?  For bonus points, is there something I can do to make my MenuStrip autohide to give up that space as well? Show that the set $\mathbb{Q}(\sqrt{p})=\{a+b\sqrt{p}; a,b,p\in\mathbb{Q},\sqrt{p}\notin \mathbb{Q}\}$ is a field  I am having a little trouble proving that for each non-zero $b\in\mathbb{Q}(\sqrt{p})$, there is $d\in\mathbb{Q}$ such that $b\cdot d=1$.  My attempt:  Let $b=a_1+b_1\sqrt{p}$  Let $d=a_2+b_2\sqrt{p}$  We want $$b\cdot d=(a_1+b_1\sqrt{p})(a_2+b_2\sqrt{p})$$ $$=a_1a_2+a_1b_2\sqrt{p}+a_2b_1\sqrt{p}+b_1b_2p$$  $$=(a_1a_2+b_1b_2p)+(a_1b_2+a_2b_1)\sqrt{p}$$ $$=1$$  Am I following the right approach? What should be my next step is the Turkish version of mancala, with its own set of rules.  I am planning on doing a project in it. Are there any game engines that either specifically play it, or universal Mancala players that plays it after supplying the options?  EDIT:  I am not looking for an app, but for a game engine. For example in chess,  is a playing app, while  is an open-source engine. MiKTeX: Two things did not succeed I installed a new hard drive on my computer this summer and I'm trying to install MiKTeX on it now. There were no problems when I was using my old hard drive. My OS is Windows 8.1. I'm trying to compile the following very basic file with pdfLaTeX:  \documentclass{article} \begin{document}   hi   \end{document}   Here's the first error I get:  Sorry, but "MiKTeX Configuration Utility" did not succeed.     The log file hopefully contains the information to get MiKTeX going again:   C:/Users/Tyler/AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log  You may want to visit the MiKTeX project page (http://miktex.org), if you need help.   With the following errors in the log:  2015-09-03 22:23:51,625-0400 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.5700 (MiKTeX 2.9 64-bit)    2015-09-03 22:23:51,631-0400 FATAL initexmf - Windows API error 32: The process cannot access the file because it is being used by another process. 2015-09-03 22:23:51,631-0400 FATAL initexmf - Info: C:\Users\Tyler\AppData\Local\MiKTeX\2.9\miktex/data/le\1e0c0e04cb3be262fbb8e6e7ace14b67.fndb 2015-09-03 22:23:51,631-0400 FATAL initexmf - Source: Libraries\MiKTeX\Core\win\winFile.cpp 2015-09-03 22:23:51,631-0400 FATAL initexmf - Line: 520   The second error:  Sorry, but C:\Program Files\MiKTeX 2.9\miktex\bin\x64\miktex-pdftex.exe did not succeed. The log file hopefully contains the information to get MiKTeX going again:   C:/Users/Tyler/AppData/Local/MiKTeX/2.9/miktex/log/miktex-pdftex.log  You may want to visit the MiKTeX project page (http://miktex.org), if you need help.   with the following errors in the log:  2015-09-03 22:16:18,715-0400 INFO  miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database 2015-09-03 22:16:18,746-0400 FATAL miktex-pdftex - The operation failed for some reason. 2015-09-03 22:16:18,746-0400 FATAL miktex-pdftex - Info: C:\Program Files\MiKTeX 2.9\miktex\bin\x64\initexmf.exe 2015-09-03 22:16:18,746-0400 FATAL miktex-pdftex - Source: Libraries\MiKTeX\Core\Process.cpp 2015-09-03 22:16:18,746-0400 FATAL miktex-pdftex - Line: 290   Things I've tried:   Uninstalling and reinstalling MiKTeX Downloading all packages whose name starts with miktex (which is a solution that worked for someone else in a different thread) Having nothing open but TeXworks when trying to compile Looking for processes that may be related to MiKTeX in the task manager (I didn't find any)   How can I stop these errors? I apologize if my formatting is bad; this is my first stackexchange question. Thank you for your help. List files sorted by the number of lines they contain How can I list the number of lines in the files in /group/book/four/word, sorted by the number of lines they contain?   ls -l command lists them down but does not sort them What's better here - a single column or multicolumn primary key? Let's assume you have a table groups and a table item. Each item belongs to exactly one group. It is an inherent part of that group. An item cannot exist outside of a group and it cannot be moved to another group.  When trying to decide on a primary key for the item table, what should I use?  Should I make up an artificial global serial key like this:  CREATE TABLE items (     item serial PRIMARY KEY,     group integer NOT NULL REFERENCES groups(group), );   ... or should I rather use a composite key and per-group item serial like this:  CREATE TABLE items (     group integer NOT NULL REFERENCES groups(group),     item integer NOT NULL,      PRIMARY KEY(group, item) );   The reason why I'm leaning more towards the second solution is that the post URL will always show the group and item, so it makes sense to have both of them as the composite primary key. In case of the first solution, the URL contains superfluous information because the group ID can already be deduced from the item ID alone. The URL structure is given, however, and cannot be changed.  The disadvantage of the second solution is that you have to manage a per-group serial (i.e. each item integer should start from 0 for each group).  What's better in terms of best practices, normalization and performance? Or is it simply a matter of taste? How to deal with bibliography items containing long URLs? \sum caused \sqrt to not be slanted Undefined reference to static class member Can anyone explain why following code won't compile? At least on g++ 4.2.4.  And more interesting, why it will compile when I cast MEMBER to int?  #include &lt;vector&gt;  class Foo {   public:       static const int MEMBER = 1;   };  int main(){       vector&lt;int&gt; v;       v.push_back( Foo::MEMBER );       // undefined reference to `Foo::MEMBER'     v.push_back( (int) Foo::MEMBER ); // OK       return 0; }