Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: diddle
Forum: Shell Scripting Feb 8th, 2006
Replies: 0
Views: 3,830
Posted By diddle
Can anyone help me for shell programming basic concept?


I want to print
the number from 1 to 10 in file1.txt
from 2 to 11 in file2.txt
from 3 to 12 in file3.txt
from 4 to 13 in file4.txt...
Forum: Shell Scripting Feb 2nd, 2006
Replies: 2
Views: 9,299
Posted By diddle
Thanks for your reply.

Yet, I have error like , if : badly formed number in cygwin. Could you help me?
My code
#!/bin/tcsh
foreach file(*.*)
@ file=`find . -name "doll"`
if(-n...
Forum: Shell Scripting Jan 30th, 2006
Replies: 2
Views: 9,299
Posted By diddle
How to store the result of find command in Shell program?
I want to store if found then result = 1 else result =0.
How to set the result ?
My code
result = $ (find . -name "doll" )
Can...
Forum: Shell Scripting Jan 26th, 2006
Replies: 2
Views: 1,586
Posted By diddle
Thanks for your response.


The program should rename all the files that contain a specific word (eg:fact).

The Input;

If the directory contains file name such as
prg1fact-num.txt ,...
Forum: Shell Scripting Jan 26th, 2006
Replies: 2
Views: 1,586
Posted By diddle
I need to rename all the files in the current directory,if it contains specific letters using shell programming.
For that I used
foreach file
if (`grep $2 $file`) then
mv "$file" newname;...
Forum: C Dec 2nd, 2005
Replies: 2
Views: 1,316
Posted By diddle
I would like to sort the temp.txt contains like the following.


1_r0.png
1_r10.png
1_r100.png
1_r105.png
1_r15.png
1_r150.png
1_r155.png
Forum: Game Development Dec 1st, 2005
Replies: 6
Views: 2,639
Posted By diddle
Forum: Game Development Aug 29th, 2005
Replies: 6
Views: 2,639
Posted By diddle
Thank you very much for all who replied to my topic. I am doing image processing involves Gram-Schmidt Orthonormalization. As I am poor in maths, want to learn how to use maths concepts, in c...
Forum: Game Development Aug 29th, 2005
Replies: 6
Views: 2,639
Posted By diddle
Hi friends,
I want to learn about basic mathematical solving(matrix, eign value) problems, using c language. Could anyone give you the site or book which dealing with easy steps?
Forum: C Aug 29th, 2005
Replies: 6
Views: 18,103
Posted By diddle
Thanks for your reply.
Forum: C Aug 23rd, 2005
Replies: 6
Views: 18,103
Posted By diddle
Hi all,
Could you tell me how to write simple graphics program in c, for example, how to take the format of bmp, pgm, csd file from image file?
how to convert from one format to other? If...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC