Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
something is wrong with my output
2. Relevant commands, code, scripts, algorithms:
it has something to do with the expr command, i don't know what is wrong though.
3. The attempts at a solution (include all code and scripts):
4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
Florida State, Myers, COP3353, Assignment 4
Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).
Last edited by Scott; 04-23-2010 at 09:47 PM..
Reason: Added code tags
I am using sco unix ver 5. who -u output lists the user name, tty,idle time and PID of the process. When I kill the idle process using kill -9 PID, the process is killed and the who -u output doesn't contain the user which is killed. This out of who -u is correct and desirable. But for past week, I... (0 Replies)
What do I have to do to get the startup and shutdown Info to display on my Graphical Monitor. As of right now, all i get is the log in screen for X windows on HP-UX. I want to see the boot process (3 Replies)
When i use the following command to get only the ip address from a file then i get a whole sentence and not only the ip address which i want.
here is the script i am using:
grep '^\{1,3\}\.\{1,3\}\.\{1,3\}\.\{1,3\}$'
for example if this the file content:
Many blogs provide commentary or... (2 Replies)
I would like to keep the complete lines in the output, but my script adds carriage returns for each space (e.g. keep BRITISH AIRWAYS on one line in the output):
File1=
BAW
BRITISH AIRWAYS
RYR
RYAN AIR
for i in $(cat File1)
do
echo $i
done
Output:
BAW
BRITISH
AIRWAYS
RYR... (4 Replies)
Hey guys, i am having problem with displaying my text. my text file is displayed in such a way and is called test.......
Sam Worthington ... Jake SullyasZoe Saldana ... NeytiriasSigourney Weaver ... Dr. Grace AugustineasStephen Lang ... Colonel Miles QuaritchasJoel Moore ... Norm Spellman (as... (1 Reply)
Hi i m running a command
watch -n 1 -d netstat -i to see the packet drops every 1 second.
but the problem is the output is so long(Due to large number of virtual interfaces) it doesn't fit into the putty prompt.
I dont need to monitor each and every network interface I m more interested in... (5 Replies)
Hi all,
Here is my problem:
I'm testing a login script for our mac Machines. This script output's in a csv file.
The login script looks like this:
echo "${computername}|${data1}|${data2}|${data3}" >> file.csv
The csv file looks like this:
Computername1|data1|data2|data3... (4 Replies)
I need a Korn shell script which does the folllowing:-
If there is one "|" (pipe) delimited file so, the script should check the 5th field to be blank or not. if it is a blank tht entire line of the file should be redirected to another file. if the 5th field is not blank it should pass that.
... (4 Replies)
Hello;
I have a simple loop filtering a log:
for LU in $(< LU-list-Final)
do
OUT=$(grep -B1 $LU cibc-src-ip.cap |egrep 'IP 16|IP 19|IP 15' |awk -F">" '{print $1}')
if ; then
echo " LU $LU was accessed by ===============> $OUT "
echo ""
fi
done
The current output snippet looks like... (2 Replies)
Discussion started by: delphys
2 Replies
LEARN ABOUT DEBIAN
ezstream-file
EZSTREAM-FILE.SH(1) BSD General Commands Manual EZSTREAM-FILE.SH(1)NAME
ezstream-file -- script to stream files from the command line
SYNOPSIS
ezstream-file [-hnqVv] [-T cfg_template] [file ...]
DESCRIPTION
The ezstream-file script uses an ezstream configuration file template to stream a list of files given on the command line, or via standard
input. In other words, filenames are written to a temporary playlist, and a template-based configuration is generated to stream them.
The path to a configuration template must be provided, either by using the -T command line argument, or the EZSTREAM_TEMPLATE environment
variable.
The configuration template must be a valid playlist configuration, and contain the follwing configuration statement:
<filename>%FILENAME%</filename>
If no input files are specified, the list of files to be streamed are read from standard input.
Lastly, the EZSTREAM environment variable allows to specify an alternate ezstream binary.
Command line parameters
-h Print a summary of available command line parameters with short descriptions and exit.
-n (Passed to ezstream.) Normalize metadata strings by removing excess whitespaces.
-q (Passed to ezstream.) Be more quiet. Suppress the output that external programs send to standard error.
-T cfg_template
Use the configuration in cfg_template, overriding the default set in the EZSTREAM_TEMPLATE environment variable.
-V Print the ezstream-file version number and exit.
-v (Passed to ezstream.) Produce more verbose output from ezstream. Use twice for even more verbose output.
FILES
/usr/share/doc/ezstream/examples Directory containing example configuration files for various uses of ezstream, as well as example playlist
and metadata scripts.
SEE ALSO ezstream(1)AUTHORS
The ezstream-file script and this manual were written by Moritz Grimm <mdgrimm@gmx.net>.
ezstream 0.5.6 September 27, 2009 ezstream 0.5.6