Hi guys.
I'm trying to do a search on the fruit & brand inside Fruit.txt, and printing the result out in the following format:
[fruit], [brand], $[price], [qty]
I am able to do this via the following code:
Code:
awk -F: -vOFS=", " -vt="$Fruit:$Brand" '$0~t{$3="$"$3;print}' Fruit.txt
However, I want to be able to search only one word anywhere on t
Hi,
I have 2 files as seen below.
File 1:
apple#fruit
carrot#vege
orange#fruit
File 2:
#list of fruits
fruitlist
:
apple#fruit
grape#fruit
orange#fruit
finish
#list of veges
vegelist
:
brinji#vege
beetroot#vege
finish
Now i need to compare these 2 files and take out the difference from file1. So my output will be
carrot#vege
Need advise on this.
Basically, all I want to do is alter outputs if the input matches a filter, but the part being altered isn't what is being filtered (or I would use sed). The problem so far is that my awk is only outputting the altered lines.
Blender Defender: Fruit Slicer
Beware of wild fruits! Be the first one to play a completely new type of defense game! After centuries of becoming fruit slices and ending up in all kinds of tasty juices its finally their time to get the revenge! Now theyre invading your kitchen, trying to break your blender that was turning their ancestors into fruit drinks for so many years!
Remember The Task is a lightweight client that allows users to access and manage their Remember The Milk tasks. The program isn't the most intuitive thing we've ever seen, but with a bit of practice, we found it to be a nice way to keep an eye on your to-do list without having Remember The Milk open in your browser.
1) Get lines containing PAT1 but no PAT2 of a file (use PAT1='dog', PAT2='cat')
Raw Input:-
1 cat chicken
2 bird dog apple
3 dog orange cat
4 cat juice coffee
5 cow milk dog
Desired Output:-
2 bird dog apple
5 cow milk dog
I am contains the two patterns that cat and dog , The dog is present the cat is absent print the line.
Live Wallpaper - Juice. Beautiful live wallpaper from various drinks. The current version is:
* - Grapefruit juice
* - Lime juice
* - Orange juice
* - Water with Lemon
You can make a drink carbonated or not, and add ice cubes and slices of fruit (grapefruit, orange, lemon, lime).
And control:
- Size of fruit
- Speed of fruit
Download at: GooglePlay
SlideMe
Hi! I have a big problem with my phone (Samsung Galaxy W) when I am playing Fruit Ninja. When I swype I accidently press the back capacitive key which opens me the pause menu. Is there any hack to disable the keys while playing Fruit Ninja? Thanks in advance! :o
Hi all,
This is my first post, so please go easy if I broke some rules. Not accustomed to posting in forums...