Search Results

Search: Posts Made By: atticus
Forum: Programming 03-21-2007
7,699
Posted By atticus
how to use classes in c ?!?!?
Hi,
I've tried to use classes in my program, but the compiler simply gives an error on the word class . Am I the only one with this problem ? I have no idea how to use classes in c in linux...
37,715
Posted By atticus
swap words in a line with sed
Hello. There is something I can not manage : I want to swap the first word with the third one in every line. No file is given the input is read from the keyboard. I know I have to use sed, but it...
1,674
Posted By atticus
sorting dir with respect to their nr., of files
hello,
I've got a lil shell program, which gets some directories as parameters.How can I sort this directories with respect to the nr of files they contain? The dir with the most files should be...
Forum: Programming 06-07-2006
3,889
Posted By atticus
I have no clue what's the point - fcntl() ?
hi, I need to know how to lock a file. I used the following code, but after executing the program the file 'write.txt' remined empty, and I have no idea why.Maybe I'm not using the corresponding...
19,619
Posted By atticus
I just saw in a tutorial that sort -f also...
I just saw in a tutorial that sort -f also converts small caps in capital. it was just an idea. but thanks for the nawk.
19,619
Posted By atticus
i think i have to do soemthin with sort -f
i think i have to do soemthin with sort -f
19,619
Posted By atticus
10x a lot, but isn't there a simpler way to do...
10x a lot, but isn't there a simpler way to do it? maybe awk combined with sed or somethin', this looks too hard for me......
19,619
Posted By atticus
change small letters to capital
hi guys, I know this might be very simple for u but not for me.
I simply want to print the active users, changeing the first letter in their names to capital. i guess sed it's useful but don't know...
Forum: Programming 06-03-2006
20,565
Posted By atticus
how to use fifo
hi, I have a problem. I've done a lil program which gets from the server the given persons username a personal folder. I made it with a pipe calling popen with a command, but how can i make the same...
2
awk
2,127
Posted By atticus
awk
how can I print the first 3 characters of each first word of every a line in a file using awk?
34,090
Posted By atticus
10x a lot for help
10x a lot for help
34,090
Posted By atticus
could u pls expain to me what means the expr...
could u pls expain to me what means the expr 's/^/newBeginning/' ?
34,090
Posted By atticus
i've tried sed i \ txtinsert filename
i've tried
sed i \ txtinsert filename
34,090
Posted By atticus
insert word in each line of a file
can someone tell me how can I insert a word in front of each line in a file.
i tried with sed but didn't managed yet.
Is there another command or this one(sed) works?
10x anyway.
19,890
Posted By atticus
10q guys
Thanks for the help, this also works:

grep -ca ^$ filename

10x especially for stobo īs reply.
19,890
Posted By atticus
display no of empty lines
I want to display the number of empty lines in a file. I guess i should use 'grep'...but how..
10x for those who'll help.
2,684
Posted By atticus
10x a lot, I've tried comm but didn't know what...
10x a lot, I've tried comm but didn't know what other command to use
2,684
Posted By atticus
print the first 5 lines in which 2 files differs
it is a simple problem, but I am totally new to shell programming
There are 2 files. I have to print the 5 five lines which are different.
I appreciate any help.
10x.
Showing results 1 to 18 of 18

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