6 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. UNIX for Advanced & Expert Users
Hi,
There are three type of buffering: Fully buffered,line buffered,and unbuffered. The goal of the buffering provided by the standard I/O library is to use the minimum number of read and write calls.
I understand that decrease write() calls when use output function output data to a file ,... (4 Replies)
Discussion started by: Edward114
4 Replies
3. Shell Programming and Scripting
Can someone help me of doing something like this
send.sh
#!/bin/bash
for last; do true; done
echo $* | gammu sendsms TEXT $last
every thing is good except that when i launch the script like this
./send.sh This is the message i want to send +63922XXXXXXX
it turned out the message of... (2 Replies)
Discussion started by: arturo322
2 Replies
4. Shell Programming and Scripting
Hi,
I'm have a tcl application using expect. The application is connecting to a unix box and is running a script. What i need my app to do is show the output of the console as the script runs in realtime. At the moment, it my app is waiting until the script finishes and then dumps what is... (0 Replies)
Discussion started by: Phi01
0 Replies
5. Linux
Please, Anybody knows how can i configure Mozilla Browser to play M$ Windows Media in Linux??
I know konqueror can be set to play *.ASF or *.ASX files with the kmplayer application. But Mozilla doesn't give me the option to choose an expecifc application to play this files.
Is there any file in... (2 Replies)
Discussion started by: Dmitri-br
2 Replies
6. Solaris
This is weird, so I'm hoping someone here knows solaris and how it handles pipes...
OK... here goes...
Theres this log file, right? I want to tail -f it, grep that, gzip that, then pipe that into more commands. Well thats easy, right?
tail -f file | grep pattern | gzip | otherstuff...
... (1 Reply)
Discussion started by: sannik
1 Replies