10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I am tryin to undertand piping
command1|command2
from what i learn output of cammand 2 is an intput for command 1 right?
If so .
What dose next sequence do
cat f1 >> f2 | grep '^'
I think it takes context of f1 and Concatenate's it to f2 and then looks for ....i don't know..... (7 Replies)
Discussion started by: iliya24
7 Replies
2. Ubuntu
Hi everybody,
I have a big file with blast results (if you know what this means, otherwise look at it just as a text file with a specific form).
I am trying to extract some ids from within this file, which have certain parameters.
For example, some Of my IDs have the term 'No hit results'... (6 Replies)
Discussion started by: frymor
6 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to use a double grep so to speak. I need to grep for a particular item say BOB and then for each successful result I need to grep for another item say SMITH.
I tried grep "BOB" filename | grep "SMITH"
but it does not seem to work.
I can achieve my desired result using an... (12 Replies)
Discussion started by: mojoman
12 Replies
4. Programming
I have a piping question, I am trying to implement piping on my own shell and am having some trouble...esentially I am trying to make something to do command|command|command.
I can get it to work fine if the last pipe command is not forked, but executes in the shell and then exits..but I need it... (2 Replies)
Discussion started by: mtobin1987
2 Replies
5. Shell Programming and Scripting
I've got a file with lots of commands I want to run in it. They're formatted like so:
cp /path/to/file /path/to/new/file
and on and on and on.
Hundreds of them.
Anyways, I'd like to execute them one at a time, then check what time it is, and repeat this process until 7am.
I can... (3 Replies)
Discussion started by: ProFiction
3 Replies
6. UNIX for Dummies Questions & Answers
All,
I am a UNIX novice with a question that I hope you can help me with.
I have a UNIX application called "Tole" that formats and displays specific information about customers. I can display the information for up to 30 customers by seperating customer IDs using commas in this format:
Tole -c... (3 Replies)
Discussion started by: simo007
3 Replies
7. Shell Programming and Scripting
Hi
Long time since I did any shell scripting so please be gentle with me! :)
Just wanted to know whether it is possible to take the streaming output from a dvb card /dev/dvb/adapter0/ and using named pipes and tee to pass the outputs to mplayer and mencoder so as to watch and record a telly... (0 Replies)
Discussion started by: gary101
0 Replies
8. Programming
Hi, I am trying to write a program that will pipe any number of programs together like in the linux shell. As an example, the below code tries to execute "cat data | grep int | cut -b 1-10." The problem is that the programs never get executed for some reason. It seems like the first program... (3 Replies)
Discussion started by: PuppyHusher
3 Replies
9. Shell Programming and Scripting
I am using pipes (specifically piping out) in Perl to put an array from one file into an array in a different file. I can't figure out how to transfer the array. I kow how to open the pipe : open (FILEHANDLE, "| file") or die~
but how do I transfer the array. I think it has something to do with... (1 Reply)
Discussion started by: lnatz
1 Replies
10. Shell Programming and Scripting
I have to:
pipe ls, tr, and cut to output the size (in bytes) and name of all of the files/dirs in the current directory (including any hidden ones), with the size at the beginning of the line, followed by a single tab character, followed by the the filename.
I don't know what the point of... (2 Replies)
Discussion started by: scan
2 Replies