- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- PC Specs
- Linux
Re:
I am defining the following variables inside a bash script (note: I ultimately want to pass these values to the bash script from the commandline but I haven't gotten that far yet): OFS=',' INPUTFILE='~/data.txt' OUTPUTFILE='~/delimited.txt' FIELDWIDTHS='1 10 4 2 2' Next, inside the bash script I'm attempting to call an … |
|
Re:
I kinda want to code in binary just for the fun of it. But I have no idea how to compile my code. Anyone know how? |
|
Re:
Thought the days of having to use a particualr web browser client in order to use a specific site were over? Think again if this conversation between a user and eBay support is anything to go by. ![dweb-ebay](/attachments/small/0/dweb-ebay.jpg "align-right") As a journalist who has spent the largest part of the … |
|
Re:
Hi, I am currently learning how to program, and have a code below: int voltage; printf("Voltage\t\tSoC\tDescription\n"); printf("-------\t\t---\t-----------\n"); for (voltage = voltage_min; voltage <= voltage_max; voltage = voltage + step_size_variable){ printf("%d\t\t%0.3d%%\n", voltage, ((voltage - 3000)/1200)*100); } When I run it, the program outputs only 0.00%s, and is not calculating the voltage … |
|
Re:
Hi, can we write a function in c, tht can accept any type of array, may tht be int, float, char, struct or of any any kind, as an argument and perform some task of tht like sorting etc. Thank you |
|
Re:
Hi, Can somebody please explain , printing with structure variable also working. int main( void ) { struct bitfs { unsigned char a:4; unsigned int b:5; }; struct bitfs bf = {15,31}; struct bitfs2 { unsigned char a:4; unsigned int b:5; }bf2 = {15,31}; printf("a= %u \n", bf.a); printf("b= %u … |
|
Re:
Hi, I am trying to write a Bash Script to sort some images but I am new to Bash and not having any luck. I have a folder of images. Example: P100.jpg P172.jpg P342.jpg P400.png I need to change these filenames to <filename>_DEFAULT<extension>. ie. P100_DEFAULT.jpg and then move the file … |
|
Re:
I have a command lline script that works perfectly. cat <some_filename> | awk '$9 == 200' | awk '$10 == 10623720' | awk -F\" '{print $6}' | sort | uniq -c | sort -r I want to put this in a shell script so that we do this for multiple … |
|
Re:
Hi all, I am new in shell scripting and I need your help 1. I would like to make a list of files (no folders) of unix system which do not belong to root 2. I would like to make a list with directories of system which the first letter … |
|
Re:
I have to write a program where the producer gets the some number of inputs from the user and the consumer takes from the shared memory and prints their squares.In my program i have the shared memory size as 5. my program works perfectly in the area that producer and … |
|
Re:
This is my assignment for my CS class. I got the assignment but I have no clue how to do it. can anyone explain it to me? thx a lot! |
|
Re:
I would like to know if anyone knows the date that asselin.com was aquired by Hover. Also, who started asselin.com and where would I go to find out this information. Thanks, Jerry W. IOI, Inc. |
|
Hi everyone, I support myself developing C/C++ on embedded platforms. [I]Embedded[/I] means there is typically no user interface, or only a limited one, like a few buttons and LEDs. Also, embedded processor are often very limited in power and resources. I particularly enjoy solving asynchronous interaction issues, e.g. passing control … |