Search Results

Search: Posts Made By: jmvbxx
Forum: Programming 12-14-2009
2,414
Posted By jmvbxx
Thanks for the feedback .. In this specific...
Thanks for the feedback ..

In this specific case I am considering whether to run a simple function or or leave the equation in the loop.

What I'll do is increase the instances substantially to...
Forum: Programming 12-14-2009
2,414
Posted By jmvbxx
How to evaluate which coding approach is best?
Let's say for example that we have two different ways was can code the exact same program to achieve the same result.

What is the best way to determine which of the two methods is the best...
Forum: Programming 12-13-2009
2,772
Posted By jmvbxx
Thanks for the feedback. About gets() .. my...
Thanks for the feedback.

About gets() .. my compile doesn't compile if I use it so I had to learn to use fgets() instead. I thought the error was coming from there which is why I tried to use...
Forum: Programming 12-12-2009
2,772
Posted By jmvbxx
Help with correct use of __fpurge()
I'm having a problem with the output of my code and I'm wondering if __fpurge() might be my solution.

Here is the code:

#include <stdio.h>

float bonus(char x);

int main()
{...
2,159
Posted By jmvbxx
Thank you so much! That is exactly what I...
Thank you so much!

That is exactly what I was looking for!
2,159
Posted By jmvbxx
How do I do this: -$: sample.sh <INPUT>
I apologize for the confusing title .. What I want to do is write a script that pulls specific input from the command line (after the script name) rather than from within the script.

Example:
...
6,968
Posted By jmvbxx
find, copy and replace text in bash or sh
here is my prob ..

i have a very large text files and i need to locate specific lines, copy them and then replace a single word in the replaced text

example

find all lines that contain...
7,121
Posted By jmvbxx
/tmp in Ubuntu
I just checked my /tmp and it is not being cleared out automatically.

Would it make sense to write a little script to clear the /tmp out on reboot? Or does anyone know of a setting that will do...
62,407
Posted By jmvbxx
Copying files from multiple directories
If you are interested, this is a solution that I used to copy *.m4a files from multiple directories into a new directory:

find . -name "*.m4a" -exec cp "{}" /<dir> \;

This will search for any...
3,103
Posted By jmvbxx
This is where I started
I understand exactly where you are coming from!!!

I want to be more of a nerd than I truly am and all of my knowledge relating to tech & *nix is self-taught.

I first worked my way through this...
Showing results 1 to 10 of 10

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