Search Results

Search: Posts Made By: beatblaster666
15,323
Posted By beatblaster666
Thanks but didn't make any difference. My...
Thanks but didn't make any difference.
My question remains.
I have a multidimensional array inside an awk program. This array has five columns and i want to sort it using the field in the fifth...
3,152
Posted By beatblaster666
Great idea, pfff i think i am a bit silly or...
Great idea, pfff i think i am a bit silly or tired from all those projects running at the same time. Thanks a lot mate.
15,323
Posted By beatblaster666
Ok but i haven't got a file as an input. I have a...
Ok but i haven't got a file as an input. I have a table.
15,323
Posted By beatblaster666
Yeah ok but can i call it inside an awk file, and...
Yeah ok but can i call it inside an awk file, and if yes how.
15,323
Posted By beatblaster666
Sorting inside awk
I have an array with five columns and i want to write it to a file.
Before writing it i must sort it using the field in the fifth column.


_________________________________________
|field...
3,152
Posted By beatblaster666
Finger and error handling
I have this segment of code :
cmd = "finger -m " $1 " 2>/dev/null | head -1"
cmd | getline userinfo
close(cmd)
Sometimes finger returns no such user when given a user id.
With the redirection...
1,689
Posted By beatblaster666
Mmm i think i got it, $1 has a new value every...
Mmm i think i got it, $1 has a new value every time but not all of them are fingered.;) So maybe this is the problem.
1,689
Posted By beatblaster666
I think i am in love with you mate, you are my...
I think i am in love with you mate, you are my saviour.:D:)

If you don't mind can you explain this a bit to me?
When i use finger for a user id i get back a login and a name in the first row...
1,689
Posted By beatblaster666
No luck, Output: std05181 Login: std02188 ...
No luck,
Output:
std05181
Login: std02188 Name: Doukoudakis Athanasios
std01095
Login: std02188 Name: Doukoudakis Athanasios
std02188
Login:...
1,689
Posted By beatblaster666
Finger has gone crazy
Two things : On the first place i am really desperate, on the second i am about to throw my laptop away to the recycle bin in a while.

Ok now that i expressed my feeling let me describe you this...
24,770
Posted By beatblaster666
Found another way by using : ...
Found another way by using :
path=sprintf("%s%s%s",target,"/",filename);
system("touch "path"");
A bit dummy but really made an effort!:D
Yours works like a charm also, thanks a lot!
24,770
Posted By beatblaster666
Hm this one creates a file under target but it's...
Hm this one creates a file under target but it's name is filename and not what the string variable filename is equal to. Any idea?
24,770
Posted By beatblaster666
How to create a file using awk
Hi there to the community,
i have a bash script with an awk command inside, the awk program is in a separate file cause it's a bit big.
Inside the awk program i calculate a filename from some data...
Showing results 1 to 13 of 13

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