Programming :: Convert Awk Alternative In C Program?
Jan 14, 2010
I wrote a bash script a few months ago and now I want to convert it to a C program. However, i used awk a lot in my script, and I don't know what to use in place of awk. The awk calls are simple, like string splitting and math, but I don't know of any replacement for the string splitting function. Are there any C libraries that include some sort of string splitting function?
Is it possible to convert Ubuntu 11.04 i386 iso to an alternate iso by any means?? Not that I have bandwidth restrictions, just our ISP doesn't want us to use over a certain amount.. Weirdest uncapped ever right.. So can I convert the normal iso to an alternate iso??
I'm currently using handbrake (with the gui) to convert some video files to mpg4. It takes about 2 hours to convert an average movie is there anything a little speedier? I'm running a core2duo processor.
I have switched two computers, my own and my mom's home computer, over to Linux Mint 7 XFCE CE, after trying out close to a dozen distros. Now my mom wants her work computer switched. But we need a program to replace the aforementioned Legalmath. That program will calculate interest on irregular payments (such as past due child support or spousal maintenance)and also calculates payments needed on a loan or past due bill in collection. It can also calculate future value of present payments and some other interesting things that my mom does not really do. If there are any other family law attorneys in the forum who have found a good program, please let me know. Or if anyone knows of a program that will do these functions well. This is basically the last hurdle before my mom and I both throw Windows completely out.
My sister works a lot with boating frame design, etc. and she needs a program that calculates all the measurements for you, but the program she wants only runs on Windows and costs $275. Here is the website to the program: http://www.clearwatercanvas.com/ and/or http://www.kingrichardco.com/FrameBenders/EZFrame.htm
Is there an open sourced alternative to this program that is free, or is there a simple way to make an open sourced alternative?
a program that works exactly like orbit downloader in windows for linux i use orbit to download ..... videos and music,i can't find another program like it in the repositories and google searches were getting me no where.
I currently run a home sever using windows server 2008. On it I'm using VMware to run 2 virtual machines (currently running CentOS (which is Red Hat based) as web and mail servers. It's not a big setup, we only host our personal websites and a couple for some friends. Although server 2008 handles resouces much better than server 2003, it's still running windows, which as we know is far more inferior to a Linux server. I'm trying to convince the husband to let me run everything on Debian, but he wants to run it on Red Hat (which okay, isn't bad but our household is devided. We have long running arguments because he likes his boxes Red Hat based running KDE, and I like my Debian distros running Gnome!)
The host server is running on a standard pc box, it's got a 2.5 gigahertz dual core processor and 3 gig of ram, almost one TB storage. (don't ask why I'm including this drastically important info!) I want to run the entire network on Debian. So that would be the main host running Debian and the two virtual machines also. The host itself would need to run as a file and app server for our home network and the two vertuals as web and mail servers. (we run about 12 domains three of which are under heavy usage with Mysql databases, so we run two servers so we can dedicate more rescources to the virtual server that sucks the most juice.) I was wondering how Debian handles virtualisation and what program(s) would be a good alternative to VMware?
My question here is that before installing the multilib libraries, how does a 32 bit program differ from a 64 bit. For instance, and here I am showing my ignorance, but surely if I download a program source, shouldn't the resultant binary following compiling and building be a result of the platform it is built on, or does the source code include references to whether it is a 32 or 64 bit program.
Only asking as I have just gone to Slack13_x64, and was hoping that wine might build as a 64bit program. Or, am I stuck with having to install the multilib libs?
i'm converting from w7 and before doing so made up a list of functions i wanted to be capable of doing in opensuse.i have most of them complete but saved the ones that gave me some problems or simply perplexed me until last.i managed to figure out ps3 media server, but still need to know how to automount my external usb drive upon boot.i have my vnc needs met with x11vnc and no probs there.
but what i'm not sure how to do is to synchronize my files between my three computers as well as how to backup my files to an offsite file service (perhaps datastorageunit). i've considered just using dropbox, which from what i've read will backup to offsite ( i used mozy on w7) as well as sync my files across my lan (goodsync handled my syncing). however, i really dont want to pay $10/mo. for 50gb of storage with dropbox when datastorageunit is only $3/mo for 100gb. datastorage unit says that rsync can be used however, even with the gui (grsync) installed i still couldn't make much head way. id rather not take the lazy/pricier way out with dropbox, but instead learn how to use grsync.
I'm almost positive I've seen a program that runs on Ubuntu that can convert PDF files to HTML but I can't remember where I saw it and I have no idea what the name of it was
It would also be great if I could find a program that can convert PDFs to .odt or .doc or another format that works well with [URL] but thats not something I need right now
i have recently learned how to make backups of my psp games but for some reason they won't play them in iso format only cso (not suprisingly since everyone encourages the use of this format) is there a program out there thats easy to use, can someone show me how to use it i downloaded and installed ciso but haven't figured out what makes it tick
I have many video files that I'm trying to convert from *** to .mp4..Currently I'm using Handbrake which does a good job but getting it started is very tedious. In Handbrake I need to confirm and add to queue all of the files. When there are over 200 files at a time it takes way too long. If there is a way to not confirm all of the files please let me know.What program can I use to just add a folder and have it automatically add all of the files to my queue?
I used dvgrab to pull the video off of my Cannon HV30 HDV camcorder. Now I have a bunch of 5 minute clips at about a gig each. I need to edit these together and use a better file type. What should I convert to, and what program should I use for encoding and editing?
I am using ubuntu 10.10 with gnome desktop on a desktop computer (pentium 4 cpu with 1 Gb memory), and when I use OpenOffice Impress, convert opens up and uses most of my cpu power. Even worse, after closing OpenOffice and all instances of nautilus, convert stays in memory and keeps using most of my cpu power (between 30 and 75 %, acccording to system monitor.Is it normal ? How could I set up my computer to limit convert cpu usage, and to unload from memory after being used.
I've read the threads here and on other forums and searched the web but haven't found a program to fit my desires.
I want to take some existing C source code that is both undocumented and uncommented (definitely not mine)and convert it into a flowchart or other format that is more easily understood.
I've run across many programs of this type for winblows but I don't want that OS on my system regardless of price!
I refuse to use .net for any of my apps since I hate using proprietary code that wont work on other platforms without using emulation.
However, I do like how all the hard work is done for you and you can spend more time implementing, then actually coding stuff like socket classes, date/time classes and other wrappers to make the complex C/C++ code easier to use and tie with each other I have a custom library that I've been adding to as I need stuff, but then I got thinking, there must be something out there with everything I need to code applications, that is easy to use and more reliable and efficient then anything I'd ever make.
Do I have the convert the int to a string using stringstream then convert the string to a char? or is there a more direct way?Also is there a way to tell the length of a int?
I have a number of uncompressed audio files recorded off of an analog (POTS) telephone line of fax transmissions. Is there a Linux utility or library I could use to convert these files into images of the fax they contain? I'm not looking to send/receive a fax via a modem, but just to "replay" the communications tones and parse out the fax message.I'm guessing this may not be possible due to duplex issues and not knowing which end of the conversation is sending what,but thought I'd ask to see if anyone knew of something.