Programming consists of writing computer instructions in different languages. This tag should mark questions pertaining to shell scripting on Unix-like platforms; regular programming questions belong on Stack Overflow
-1
votes
0answers
33 views
The logic behind implementation of getopt and programms like getopt [closed]
I would like to know the general logic behind the implementation of getopt kind of functionality, so that any script would have optional parameters or some options or parameters could be must for that ...
-1
votes
1answer
43 views
Delimiters of program arguments?
What is the syntax to delimit the arguments of a C program.
For example, if I type :
./myprogram 1 2 3 | grep result
The | grep result will be interpreted as arguments (and passed as argv). So how ...
1
vote
1answer
22 views
Set auto completion for a new filetype
I have a file, which contains lines of function name, now I want to use them for code auto completion, and only for file names end with .XXX.
How should I do it, is it possible to work with ctags or ...
2
votes
3answers
100 views
default wordsize in UNIX/Linux
I was inspecting the preprocessed output of my C program and happened to look at the header file wordsize.h
It is located in
/usr/include/i386-linux-gnu/bits/wordsize.h
the file contains only one ...
-1
votes
2answers
44 views
Using .. and . to copy files from dirctories
I'm trying to copy a file from the home directory to the current directory( which is a subdirectory of a directory in home) using .. and . instead of path names or ~
This is what I tried, but it ...
2
votes
3answers
198 views
Keeping program GUI front-end and CLI functionality separate
In Linux a lot of programs have a CLI version and a GUI front-end. I read somewhere that this follows the linux philosophy and is good practice. Of course it's true from a developers perspective to ...
0
votes
2answers
132 views
Best language to write linux services [closed]
I want to create a crawler that scans one single web page and sends me an email in case something is wrong on the page (the page holds some webservers' status - Up/Down).
What would be the best ...
12
votes
1answer
164 views
What is AT&T’s Link Editor Command Language?
The man page for ld makes reference to AT&T’s Link Editor Command Language, however a Google search does not offer a satisfactory explanation as to what AT&T’s Link Editor Command Language is ...
-2
votes
2answers
220 views
UI toolkit + programming language to develop linux applications [closed]
Suggest good GUI designer tool with programming language for linux based application. For a developer who knows winform and C#.
Don't want to use mono on linux to run .net application on linux.
I ...
1
vote
1answer
63 views
How do I keep 'indent' from moving curly braces to the next line?
I have several empty inline function definitions in C++ like so:
class C
{
void foo(){}
void bar(){}
};
now if I run indent -st -i4 -nut test.cc in order to just fix the indentation I get
...
3
votes
1answer
187 views
Is there a Linux for an MSM7227 tablet with USB keyboard and touchscreen stylus drivers?
I have a ZTE V9C 7" tablet with 800MHz MSM7227 processor, Snapdragon family (ARM architecture?), Android 2.3, and I want to have a (very lightweight) Linux running on it (I know Android uses a Linux ...
3
votes
2answers
103 views
What does the term static variable mean in unix speak?
From the section 2.7 of the book - The Linux programing Interface named Process memory layout :
Data is defined as the
static variables used by the program.
What is the significance of the word ...
2
votes
2answers
134 views
Extract name of file without extension in shell script [duplicate]
Possible Duplicate:
Best way to remove file extension from a string?
How to rename multiple files by removing the extension?
I have a metric boatload of .txt files I'd like to load into a ...
5
votes
5answers
7k views
Best distro for programming [duplicate]
Possible Duplicate:
Linux distribution geared towards developers
I don't know if this question qualifies to be a question to be asked here. But can anyone tell me what's the best (linux) ...
1
vote
1answer
166 views
What is the command or hotkey for stopping a running program in DrJava?
I installed DrJava about a week ago. Its been working fine so far but I ran into an infinite loop and wanted a way to stop the program from running without having to force DrJava to quit. Is there a ...
0
votes
1answer
232 views
How do I install drjava in linux from terminal?
I've downloaded drjava-stable-20100816-r5366.jar file which is the drjava version for Linux. How do I install it on my machine?
I'm running Ubuntu 11.10.
I have OpenJDK Java 6 runtime and Sun Java 6 ...
11
votes
5answers
1k views
Is there a way for linux to pick up the phone?
I know that there is a way to make Linux dial out using a modem.
Is there a way to program Linux (using a library/device) to
pick up the modem (record phone calls) etc?
see caller id?
5
votes
11answers
2k views
Which programming language is best to begin with as a total beginner? [closed]
Ok here is the deal after playing with Linux distros for best part of 4 years, I have a great urge learn some coding. However I'm a bit undecided as to which programming language to begin with. Word ...
9
votes
2answers
453 views
Where is best place to find sources of standard linux command line tools?
Into: I like learning by reading sources. But it's tiring of searching them across internet splited on many many different project sites. I'd love to see central browsable repo with sources of many ...
-6
votes
1answer
161 views
Linux: create list of text with multiple operators [closed]
I want to make a list like this:
7785237_770x770_de3b540dc13ed50023d17854513b40aa07e50a6a
732308_770x770_ec5c344c0114011a5306b31142ff9b001813f6d6
...
2
votes
3answers
331 views
Developing software on linux
What tools or IDEs do I need to start developing software on Linux in C++?
Can I work using C#?
What are necessary skills in order to know to develop software on Linux? I mean what is required in ...
0
votes
2answers
443 views
Best Distro For Artificial Intelligence Research? [closed]
Is there a definite best distro for AI research? I want to build a AI that can be used to help me manage all my emails intelligently.
2
votes
1answer
189 views
How to get transient highlighting to work from an elisp script?
I want an elisp script to highlight a region of text.
Upon exit, the highlighted selection should disappear when a key is pressed.
Everything I've tried results in the highlighting hanging on like the ...
0
votes
3answers
280 views
Managed code programming languages in Linux
Is there a .NET-like managed code programming environment in Linux? I've heard of Mono, but I don't see it extensively used -- even now Python can be seen used in most open source projects.
Edit:
...
1
vote
1answer
651 views
How synchronize two disks (or folders) using symbolic (or hard) links (like rsync)?
I'm searching a tool or a shell script or another program to synchronize two or more folders or disks.
But it differs of rsync tool, because, I don't want to duplicate the missing file, but do a ...
4
votes
4answers
2k views
Linux on a tegra tablet for programming
I would like to use a tablet for some mobile programming. It would be nice to read a pdf and immediately try the code on the same device. I've found various videos and tutorials how to get Ubuntu ...
0
votes
1answer
554 views
Free way to get financial data as Bloomberg terminal [closed]
I was wondering if there are some free ways (applications or programming) to get financial data (either live data, historical data or both), achieving similar function as Bloomberg terminal? Thanks ...
1
vote
2answers
359 views
Linux user interface programming? (esp. for Python and Fortran)
What are my options for programming a GUI in Linux? I have several programs in Fortran and Python that I would like to create simple UI's for. I also plan on incorporating graphics in the form of ...
1
vote
1answer
379 views
Kdevelop project setup with symlinked files not seeing custom include paths
So I have a crazy project setup (well, it's only 1 file that needs this crazyness). First, I'll explain the setup.
So I have a file on my dropbox. I want to include that file in a Kdevelop project, ...
6
votes
2answers
3k views
Binary compatibility between Mac OS X and Linux
Brace yourselves, this question will likely appear naive and/or foolish, seeing as I am relatively new to the inner workings of unix like systems, and programming in general.
Ready? Ok! I will go ...
8
votes
4answers
3k views
Use of O_DIRECT on Linux
If this question is too programmer oriented, let me know. I wonder if there are people familiar with the O_DIRECT flag for the open() system call on Linux 2.6? Linus disparages its use, however high ...
3
votes
2answers
1k views
Implementing a Unix shell in C: Logging
I am currently working on implementing my own UNIX shell in C. The basis of the shell is working, you could find the source code here.
Right now my next task is to implement a logging feature for the ...
4
votes
1answer
578 views
Usage of inb, inl, inw to access kernel space from user space
What are some user space examples of using inb, inl, and inw to access kernel space in Linux?
6
votes
5answers
1k views
How does “top” command show live results?
How can I write a shell script that shows the results in real time?
Something like the top command that updates the results after some fixed intervals of time.
14
votes
5answers
913 views
Is automake and autoconf the standard way to compile code?
I sometimes compile apps from source and I've either been using:
./configure
make
sudo make install
But recently, I came across ./autogen.sh which generates the configure and make scripts for me ...
13
votes
8answers
1k views
What are the best general purpose programming tools to complement Vim?
I've been using Vim as my text editor for a little while now and I feel like I'm taking the long way to do anything. I use ctags to tag my code base for navigation and I use grep (although ...