Search Results

Search: Posts Made By: Godie
6,299
Posted By Godie
Thanks!
Thanks!
6,299
Posted By Godie
Count lines AWK
Hi, how can I count the lines where a word appears in a file, using AWK?

Example:

file.txt:

gold 1588 France
gold 1478 Spain
silver 1596 France
emerald 1584 UK
diamond 1478 Germany
gold...
4,080
Posted By Godie
I pretend to show calendar, but I only can use...
I pretend to show calendar, but I only can use awk command.

Your answer was very useful, thanks!
4,080
Posted By Godie
Calendar AWK
Hi, how should I use system command cal (calendar) in awk?, I have try several combinations and none works.

Here what I have done.


awk -f '{print cal}'
awk -f '{print 'cal'}'
awk -f ...
9,122
Posted By Godie
Thanks Perderabo, it was very usful. So,...
Thanks Perderabo, it was very usful.

So, what parameter should I use if I want to do this in Ubuntu?

Regards.
9,122
Posted By Godie
Thanks for your help, but I don't have the...
Thanks for your help, but I don't have the desired result.
What I'm doing wrong?

Regards.


http://img641.imageshack.us/img641/2576/imageovf.jpg
9,122
Posted By Godie
Monday as first day
Hello, how can I show monday as first day of the week using cal command? I have read that it must be use -m parameter, but all I have is a display message like this:

cal: option requires and...
2,938
Posted By Godie
Thanks!
Thanks!
2,938
Posted By Godie
AWK Function syntax
Hi, I would like to know what is the correct syntax to perform a function in awk. Although I have seen several examples, not get it to work, this is what I'm trying:

#!/bin/bash

awk

function...
1,345
Posted By Godie
kumaran and chihungt, thanks indeed, it was very...
kumaran and chihungt, thanks indeed, it was very helpful.

regards
1,345
Posted By Godie
AWK - phone bill with several files
First of all I want apologize for my English.:(
I have this problem, I would like to make a phone bill, the first file has Phone number, seconds of the call and call destination, and the second file...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 12:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy