Search Results

Search: Posts Made By: Gary Kline
Forum: Programming 08-08-2014
1,708
Posted By Gary Kline
exactly so. thanks much! ---------- Post...
exactly so. thanks much!

---------- Post updated at 06:17 PM ---------- Previous update was at 03:32 PM ----------



the numbered text files are written by the GTK+ and the user who is...
Forum: Programming 08-08-2014
1,708
Posted By Gary Kline
the reason i didn't answer the questions last...
the reason i didn't answer the questions last time is that it turns out that there were no [or few] errors to be checked for.

the prototype might be something like:


int returnInt(char *)...
Forum: Programming 08-08-2014
1,708
Posted By Gary Kline
I want to pass the dunction strings that contain...
I want to pass the dunction strings that contain 4 alphabetics followed by a dot followed by an integer followed by a dot, and ending with the string "text".

Stripping off the bytes with a

...
Forum: Programming 08-08-2014
1,708
Posted By Gary Kline
Best way to axe N bytes from the right?
say that i have strings that end in "text"



foo.9.text, bar.10.text, baz.11.text

and i want a C function to chop off the last four characters and replace each string with a '\0'; obviously...
1,834
Posted By Gary Kline
fin &Var[N]
the ampersand is the first byte in the variable. it is an array that starts {probably} at 0.

---------- Post updated at 02:26 PM ---------- Previous update was at 02:08 PM ----------



...
1,834
Posted By Gary Kline
findinf &xyz[nnn] ...
find . -name *.c | xargs grep '&foo[N]'

brought xargs to mind. but two things here:

1. will your find clause get me only my .c files? [i hope, i hope]
2. will [A-Za-z] or somesuch work to...
1,834
Posted By Gary Kline
How do i find "&variable[0]" using grep -r?
Guys,

i've got hundreds of C programs in my ~/devel/ directory and sub-directories. is there a way i can use grep -r followed by some zsh, sh, bash, to find some code that starts with "&foo[N]" ...
Showing results 1 to 7 of 7

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