10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi guys, I receive a list from pipe (with fixed number of lines) like this:
And in my ./ folder I have three files:
How to rename files one by one using while read?
02-name2.test... (3 Replies)
Discussion started by: useretail
2. Shell Programming and Scripting
Need a help on how to pipe a command out put to a shell script. My shell script looks like below.
echo " we are inside the shell script"
echo " here are the input parameters"
... (11 Replies)
Discussion started by: gvkumar25
3. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
4. Shell Programming and Scripting
I need to read the pipe data as:-
cat abc.txt | uuencode abc.txt | mailx -s hi firstname.lastname@example.org
I will override the mailx function so that when mailx is called, it calls my version of maix and in that function I want to read the file which is attached in progional mailx function- abc.txt... (7 Replies)
Discussion started by: shubh05
5. UNIX for Advanced & Expert Users
I want to convert a 3-column data to 3-row data using shell script. Any suggestion in this regard is highly appreciated.
Thanks. (4 Replies)
Discussion started by: sktkpl
6. Shell Programming and Scripting
I want to do SSH on many different machines and then run some commands on them. A binary application randomly generates IP addresses and my script will take care of doing SSH.
$ ./IPGen.exe | ./myScript.sh
my script looks like this:
while read line; do
result1=$(ssh $line... (2 Replies)
Discussion started by: siavash
7. Shell Programming and Scripting
I want to use a Named pipe to get input from a growing file for further processing. When I prototype this scenario using a while loop, the data is not written to the named pipe.
This the script I use to get data into the Named pipe:
while (( n <= 10 ))
echo... (2 Replies)
Discussion started by: sudvishw
8. UNIX for Dummies Questions & Answers
I have a text file date(pipe delimited) which is loaded in to the DB using sql loader(&CTL files) after some initial validation by the shell script.
Now i have a situation where the shell script needs to check a column in the text file and if it is NULL then it needs send this record/row... (12 Replies)
Discussion started by: ravi0435
9. Shell Programming and Scripting
I have a problem reading from a fifo pipe in shell script.
The idea is simple, I have a C program with two pipe files:
An input pipe I use to send commands in shell script to the C program (echo "command" > input.pipe)
An output pipe that I read the result of the command also in... (4 Replies)
Discussion started by: victorin
10. Shell Programming and Scripting
echo "this is some text" | shellscript abc def ghi
How to capture "this is some text" so that I can process it,
I.e. capture to a file.
What I'm attemting to do is process the text echo'd into a file after writing the
parameters passed first. No problem... (6 Replies)
Discussion started by: heinz