10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The old buffering problem again, in a very specific case. On FreeBSD this time, but it's the generic line-buffered vs fully-buffered problem.
I'm trying to pick an available bluetooth speaker (all named audio_N), by pinging all of them en mass and taking the first to respond.
The... (10 Replies)
Discussion started by: Juha Nurmela
10 Replies
2. Shell Programming and Scripting
Greetings!!
am trying to retrieve a particular section from the url as in url.txt..
aim is to get the 83.8 MB as output, but somehow this is not happening!, please suggest what might be wrong.. attached is the screenshot and text file of the page source.
Best Regards,
Vinu (14 Replies)
Discussion started by: vinu2k3
14 Replies
3. Shell Programming and Scripting
Hi,
I am somewhat new to Perl and currently checking it out. I have a problem testing, if there is nothing being piped in to that script.
I am reading input from STDIN this way:
while( defined($line = <STDIN>) ) {
chomp($line);
if( $line =~ m/($ARGV)/g ) {
... (7 Replies)
Discussion started by: zaxxon
7 Replies
4. Shell Programming and Scripting
Hello,
How can I efficiently cat piped output with another file?
> (awk command) | cat file1 (piped output)
Thanks! (11 Replies)
Discussion started by: palex
11 Replies
5. Shell Programming and Scripting
hi
i have a script named mount.sh under the location /data/scripts/ in my aix box
i want this script this to be run everyday morning at 04:45 AM and the output of the script should be piped to a file
how to do this ? (3 Replies)
Discussion started by: samsungsamsung
3 Replies
6. Programming
GNU insight debugger is not available now a days and it is required to debug/inspect
assembly code as written in the book Assembly Language Programming step by step in Linux so my question is; is there any alternative to insight that I can use instead of insight in which I can get the same... (5 Replies)
Discussion started by: vectrum
5 Replies
7. Shell Programming and Scripting
Can anyone tell me why does'nt the following command work?
find /gfp1/home/arijit -name "*.sas7bdat" | gzip
I am trying to compress all files with extension sas7bdat with gzip.
It gives error message
gzip: compressed data not written to a terminal. Use -f to force compression.... (5 Replies)
Discussion started by: bs0409
5 Replies
8. Programming
Hi Forum,
i have such a question.
I have a cobol program which is calling a C program and in that C program
i get a core dump:(. I want to investigate what is the issue using WDB debuger, but a dont see the code from COBOL program in the debuger, when i run the debugger with the exe!!!
... (2 Replies)
Discussion started by: vovan
2 Replies
9. Shell Programming and Scripting
grep $SEARCH_STRING /etc/passwd | cut -d":" -f 1,5
I need to check the $? value of grep in the above. If I place a test for $? after the above piped command, it returns success status of grep piped to cut.
How can I get the success status of grep alone? (5 Replies)
Discussion started by: krishmaths
5 Replies
10. Linux
In DDD debugger, where to set the the arguments for main program?
For example: ./myExe "argv1" "argv2" -> where to set "argv1" & "argv2" ?
Thanks! (2 Replies)
Discussion started by: princelinux
2 Replies
exexedat(3alleg4) Allegro manual exexedat(3alleg4)
NAME
exexedat - Appending datafiles onto your executable. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example exexedat
DESCRIPTION
This program demonstrates how to access the contents of an Allegro datafile (created by the grabber utility) linked to the executable by
the exedat tool. It is basically the exdata example with minor modifications.
You may ask: how do you compile, append and exec your program?
Answer: like this...
1) Compile your program like normal. Use the magic filenames with '#' to load your data where needed.
2) Once you compressed your program, run "exedat foo.exe data.dat"
3) Finally run your program.
Note that appending data to the end of binaries may not be portable across all platforms supported by Allegro.
SEE ALSO
DATAFILE(3alleg4), END_OF_MAIN(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4),
font(3alleg4), install_keyboard(3alleg4), line(3alleg4), load_datafile(3alleg4), makecol(3alleg4), readkey(3alleg4), screen(3alleg4),
set_color_conversion(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), textout_ex(3alleg4), unload_datafile(3alleg4)
Allegro version 4.4.2 exexedat(3alleg4)