The inputfile is,  test00.dat test07.dat test03.dat aram22.dat test09.dat aram09.dat test13.dat   I need the output file as  test01.dat test08.dat test04.dat aram22.dat test10.dat aram09.dat test14.dat   i.e. the numerical string associated with test is increased by unity. I need a suitable terminal command-line to perform this operation.  Especially, I need to know the conversion mechanism of 'test09.dat' to 'test10.dat' change.
My input file is,  ami21 ami65 ami67 ami66 ami88 ami76 ami29 ami55  ami54 ami32   Using a single command line I need the output as,  ami22 ami66 ami68 ami67 ami89 ami77 ami30 ami56 ami55 ami33   I used the command  awk -vRS=ami '{$0=$0+1;ORS=RT}++n' inputfile &gt; outputfile   but I got the outputfile as ami21ami65ami67ami66ami88ami76ami29ami55ami54ami32  i.e. all strings are written in same line and without space. Could anyone suggext me some better command line.
How to draw normal map? How can I draw (not bake) normal map over my model, like a texture in texture paint mode? Render cycles.  Thank you in advance! Curvature of a curve on a sphere We know that the maximum level a dweller can train to on any SPECIAL skill is 10, however this does not consider bonuses given from their outfit.    Is there any additional benefit for going over 10? For example, a dweller with an Intelligence skill of 10 wearing a lab coat that boosts Intelligence by 3?   If it is a hard cap, would it be more useful to use outfits that raise a secondary characteristic instead? In music, when two or more pitches are played together at the same time, they form a chord. If each pitch has a corresponding wave frequency (a pure, or fundamental, tone), the pitches played together make a , which is obtained by simple addition. This wave is no longer a pure sinusoidal wave.  For example, when you play a low note and a high note on a piano, the resulting sound has a wave that is the mathematical sum of the waves of each note. The same is true for light: when you shine a 500nm wavelength (green light) and a 700nm wavelength (red light) at the same spot on a white surface, the reflection will be a superposition waveform that is the sum of green and red.  My question is about our perception of these combinations. When we hear a chord on a piano, we’re able to discern the pitches that comprise that chord. We’re able to “pick out” that there are two (or three, etc) notes in the chord, and some of us who are musically inclined are even able to sing back each note, and even name it. It could be said that we’re able to decompose a Fourier Series of sound.  But it seems we cannot do this with light. When you shine green and red light together, the reflection appears to be yellow, a “pure hue” of 600nm, rather than an overlay of red and green. We can’t “pick out” the individual colors that were combined. Why is this?  Why can’t we see two hues of light in the same way we’re able to hear two pitches of sound? Is this a characteristic of human psychology? Animal physiology? Or is this due to a fundamental characteristic of electromagnetism? Unable to start XAMPP using sudo in Desktop Entry I am using Ubuntu 18.04. I have installed XAMPP and created a .desktop file to run it.  [Desktop Entry] Type=Application Name=XAMPP Control Panel Version=7.3.0.0 Exec=sudo -i python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py Encoding=UTF-8 Terminal=false Comment=Start and Stop XAMPP Icon=/home/lee/.local/favicon.ico   But, for some reason it won't run. The "Exec" line runs fine on the CL. I have it set to execute. Any ideas? Polynomials with integer coefficients such that $p(a)=b,p(b)=c,p(c)=a$ How do I get a book graphic and description from the Amazon Book API? sends an ISBN number to Amazon and gets back a small bit of XML including author, title, and publisher.  However, I also want to get small, medium and large graphic and book descriptions of the title.  Problem: I can find no REST URL examples/documention that work, either at Google or when logged into my "AWS Account" at Amazon Associates.  I find a lot of examples from 2003-2005 but they are all out-of-date and give errors, it seems that Amazon's cloud web services have obfuscated their simple REST API documentation for their books.  Can anyone point me to some documentation on how I can get detailed information about books at Amazon via REST/XML?   Here's what I have tried so . The only thing I need is an exact copy of an existing shapefile in the same directory with a different name.  I have tried:   arcpy.CopyFeatures_management (ORLinks, MyLinks) #ORLinks: old links, MyLinks: new links   but for some reason, I cant make it a feature layer using:  arcpy.MakeFeatureLayer_management(MyLinks, 'MyLinks')   Error Encountered:  Error: Failed to execute. Parameters are not valid. ERROR 000732: Input Features: Dataset  M:\RAIL\Rail2.0.shp does not exist or is not supported Failed to execute (MakeFeatureLayer). Can I see why a package is installed? For a specific package, can I find out why it is installed?  So, can I see or it's manually installed, or that it is installed as a dependency of another package? Or that it is installed as part of the distro? How do I remap multi-key sequences to individual keys? Word for Party *Steward*? Is there a word that describes a person who is usually not too drunk and takes care of the rest of the folks at a party?  Typically, they're the ones who drag the sloshed ones back to beds, clean up the house and generally maintain a bit of sanity. os.path.abspath("..") returns "C://User//" which is false + __file__ is not defined --> execution from Spyder3 (Python 3.6) Hypothetical party:  1st level human wizard (PC) 3x guard NPC 1x acolyte NPC    This is the player's first time, and it's a solo campaign. The first mini-adventure involves recovering the cargo of a supply caravan that didn't make it to her magic academy due to bandit hijacking (as a sort of graduate-test). The guards and healer are on contract from the school to assist her. The acolyte is essentially just to hang back and tend to wounds and probably won't engage in combat unless someone goes down or the PC is seriously wounded.  So, with that "party" makeup, how do I determine the XP budget for a "medium" or "hard" encounter since there's no clear CR->level mapping in 5e for those NPCs (who will certainly factor into any combat as meatshields and melee damage)? I was thinking about reverse-engineering them as crumby lvl2 fighters (given the 2 HD worth of HP they have), but they certainly aren't on par with a lvl2 fighter, given the lack of action surge, second wind, etc., so the encounters would end up being too hard compared to PCs or DMPCs.   Could they be lvl1-equivalents, essentially trading any abilities a PC would have for extra HP? How would this work at later levels with higher CR NPCs (veteran, priest, mage, etc.)? I'd rather not have to build a bunch of DMPCs as hirelings, because I want the NPCs to be a bit vanilla compared to the versatility of my player. I'm already introducing 1-2 DMPCs to the game for her to take control over as she gets a feel for the flow of the game (for now, she'll handle them out of combat, and I'll effectively show her how to utilize them until she's ready).     Just to be clear, I'm comfortable with the monster-generation rules for crafting NPCs as enemies to determine their CR, but I'm confused on how to use them in the adventuring party when budgeting encounter difficulty XP. How can I view the Android internal partition table? I've rooted my device, put it in recovery mode, and have linked it to PC by .  How can I view the list of storage devices and partitions?  Note: fdisk doesn't work. Will factory resetting my device remove the Android upgrade? I have upgraded my phone to Android 2.1. I need to reset my phone but I don't want to lose the upgrade. Is it possible to do this? How? How to copy files via terminal? I have read about copying files with terminal but these examples will help me a lot. So here is what I want to do:  Examples:   I have a file in /home/levan/kdenlive untitelds.mpg and I want to copy this file to /media/sda3/SkyDrive and do not want to delete any thing in SkyDrive directory. I have a file in /media/sda3/SkyDrive untitelds.mpg and I want to copy this file to /home/levan/kdenlive  and do not want to delete any thing in kdenlive directory  I want to copy a folder from home directory to sda3 and do not want to delete any thing on sda3 directory and opposite I want to cut a folder/file and copy to other place without deleting files in that directory I cut it into. Prove that if $g^2=e$ for all $g$ in $G$ then $G$ is Abelian. Suppose a book consists of three sections:     The book is/was divided into three sections.   I am thinking the past tense option "was" should be used, because the act of dividing the book into three sections happened at the time of writing. Is my analysis good? Remove line containing certain string and the following line Accelerating particles to speeds infinitesimally close to the speed of light?