Search Results

Search: Posts Made By: Learnerabc
1,273
Posted By Learnerabc
Thanks for reply brother but i didnt understand....
Thanks for reply brother but i didnt understand. I have a code in c program, let say to that count words in a file. this is a big code. now what i want is give that code a name( utility) to use in...
1,273
Posted By Learnerabc
c program to a utility
Hi,
I have a c program file.c i want to make this code a utility to use again and again in unix. can you please tell how i can make .c code file into a utility.

Thanks
Forum: Programming 12-02-2010
1,751
Posted By Learnerabc
Thanks for reply.Is it ok if I can pm you the...
Thanks for reply.Is it ok if I can pm you the code?
Forum: Programming 12-02-2010
1,751
Posted By Learnerabc
C prog Segmentation error.
Hello Friends,
I made this program, it is running fine. when i try to add this line of code in to do repeat. It is giving segmentation error. can you please tell me how should i fix tht...
3,754
Posted By Learnerabc
Sorry one problem with this... What this is...
Sorry one problem with this...

What this is doing is
sam:harry:joseph:1 (when i first add the name)

when i enter the same three names it updates that 2 butoutput in the file is like this:...
3,754
Posted By Learnerabc
Thanks sir, it worked. I was trying this with if...
Thanks sir, it worked. I was trying this with if else but didnt work out for me. Thanks again
3,754
Posted By Learnerabc
changing number in bash (number is in form of string)
I have a txt file as database. when i run my program what it does is it ask me for 3 name and stored in the file as

name1:name2:name3:1

when u enter 3 name it add those in file as above format...
3,408
Posted By Learnerabc
Thanks for reply..but now I am trying to do...
Thanks for reply..but now I am trying to do something else

now lets say i have

sam:john:son:$x

where $x is a number

so if i enter sam john son again the x become 2 and so on

now what...
3,408
Posted By Learnerabc
bash adding multiple names
Hi all,
I make this bash script in which there is one option to add a name in txt file. So when I run the script it ask me for the name. When i enter the name, that name gets added in a txt...
Forum: Programming 10-10-2010
3,971
Posted By Learnerabc
Fibonacci (assembly)
When i run this with gcc filename.s -o filename. It is giving fatal error: Unknown opcode at define registers.
Anyhelp will be appreciated
.section ".data"
prompt: .asciz "\nThis program prints...
Forum: Programming 09-24-2010
2,361
Posted By Learnerabc
Help with assembly code
I want make simple assembly code for some thing like this a^6+6a^2+2a and range of a is between -3 to 3. I tried but it is not working properly. As this is my first assembly program that I am going...
Forum: Programming 09-24-2010
6,358
Posted By Learnerabc
-bash: as: command not found but when i do...
-bash: as: command not found

but when i do man as it is there :confused:

---------- Post updated at 11:17 PM ---------- Previous update was at 11:15 PM ----------



What you mean by mpu? ...
Forum: Programming 09-23-2010
6,358
Posted By Learnerabc
Assembly Language ( compile )
Can someone explain how to compile assembly language code. I made my first assembly language code, but don't know how to run it. I know i can debug with gdb, but is there any way to just compile it...
3,075
Posted By Learnerabc
m4 processor (how to use)
hi,
what plugins i need to install to run m4 processor in bash shell. Also, what is the file extension for m4 processor ( like .cc in c ).


Thanks
Forum: Ubuntu 06-02-2010
2,837
Posted By Learnerabc
Ubuntu not booting
Hi Friends,
I have one old dell desktop with windows 2000 pro..it has 20 g hard drive and 1 gb ram. I update it with Ubuntu 10.04 desktop edition. when everything was installed. it wanted me...
Forum: Programming 05-09-2010
3,065
Posted By Learnerabc
Thanks Sir, If you dont mind, can you please...
Thanks Sir,
If you dont mind, can you please explain how this code is working?
Forum: Programming 05-09-2010
3,065
Posted By Learnerabc
ARGV help in C
Hi,
Can somehelp help how to list file in a dir?
6,891
Posted By Learnerabc
Yes, I figured that out, but I want the format to...
Yes, I figured that out, but I want the format to be like 04/12/2010

I tried this but this is not working like I want.

sed -e "s/\($nme:\)\([^:]*:\)two:.*/\1\2 one:$(date '+%m/%d/%y')/g"

...
6,891
Posted By Learnerabc
sed -e "s/\($nme:\)\([^:]*:\)two:.*/\1\2 one::/g"...
sed -e "s/\($nme:\)\([^:]*:\)two:.*/\1\2 one::/g"
I found out how to do reverse..Now my question is

Is it possible to run unix commads with this or not

for example the output of sed is going...
6,891
Posted By Learnerabc
Can you please explain the "sed" part? i mean...
Can you please explain the "sed" part? i mean that regular exppression
6,891
Posted By Learnerabc
Yes I want to make changes inside the file
Yes I want to make changes inside the file
1,806
Posted By Learnerabc
likke ?
likke ?
1,806
Posted By Learnerabc
yes
yes
1,806
Posted By Learnerabc
Date command
I have a script, i want to know is it possible to put date command in varable

example

file=${title}:date
here how the date command should be put so that it will work?
6,891
Posted By Learnerabc
As I mentioned, it will be easier for us to solve...
As I mentioned, it will be easier for us to solve the problem, the need of the script rather than trying to fix a script without not the real background.

May be you can try something like this

...
Showing results 1 to 25 of 65

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