Hey Guys, im sure this question has been answered in the past, but was unable to locate it in the forums.
I am looking to upgrade my GF's GNEX to a GNOTE II. She has unlimited data currently. My account has 4 lines, 3 with unlimited and 1 with shared (4gb). All 3 unlimited plans have upgrades available.
I would like to keep our unlimited plans for Myself and her.
Hi all,
I have two lines with unlimited data, one of which is mine which we'll call "unlimited", and want to use the other line's upgrade, which we'll call "forfeit", for a Note 2 and swap it to the "unlimited" line to keep my unlimited data. I also want to "downgrade" the upgraded line to a dumbphone line without the data plan.
Is there any way to add lines to the pattern space of sed?
I know a bit about the N flag, but am not able to use it to do what I want which is:
read a file n lines at a time. If I find a match I quit else move to the next line. e.g.
My wife has the iPhone 4S with unlimited data. I jumped into the smartphone world late in the game and never got unlimited data.
Anyways, my question is, when my wife upgrades to a 4G phone, will she be able to keep unlimited data?
When I went from a 3G phone to 4G, Verizon told me I had to get a 4G data plan.
I have a 4 port Digium card in there, and have 4 lines running smoothly. Now, we added ANOTHER 4 port card and have 4 more analog lines coming into the Trixbox server. It still runs the 4 fine, but what do I need to do to add the additional 4 phone numbers/lines?
I want it to act exactly as before, there's nothing special about the new lines.
I need to remove lines from a text file based on pattern but I need to keep the first n lines of that pattern.
Input
% 1
% 2
% 3
% 4
% 5
text1
text2
text3
output
%1
%2
text1
text2
text3
I used sed /^%/d file but it deletes all the lines starting with %, sed 3,/^%/d doesn't help either. I need to keep first n lines of the pattern and delete the rest
In a text file I need to comment out all lines by adding a ";" as first character of each line. What is a good way to do this? I thought of Vim's visual block mode, but I couldn't find a "select all" option and marking several hundred lines manually also isn't great ;-) Any idea? I have nano, vi and vim at hand, I would prefer one of those for this task.
How can you find unique lines or duplicate lines in a file based on the content of the first field, or the first n characters ?
The uniq command on OS X lacks the -w switch that is available under Linux: -w, --check-chars=N : compare no more than N characters in lines, which solves the problem.
Can it be done without reimplementing uniq in awk ?
The number of fields is not constant.
Hey, I am very happy I was able to KEEP unlimited data on two phones when I upgraded last friday. The wife and I went in to get new gs3 and thought we were going to loose the unlimited data plan. Turns out the guy helping us said we could keep unlimited if we got another line and swap. Im not sure how he did it, but something like this..