I have not asked questions on csdn for a long time. could you ask me a question about shell? could you help me? thank you very much.
#! /Bin/bashtmp_fifo = "/tmp/$. fifo "mkfifo $ tmp_fifo # create the pipeline descriptor file exec 6 <> $ tmp_mongoorm $ tmp_mongoofile ="/tmp/file. t "# assume that there are 10 rows in the file, and the content is random. Normally, the row is for (I = 0; I <10; I ++ )); do echo 1 done> & 6 while read line; do for (I = 0; I <6; I ++ )); do read-u6 k # Here there is only one file descriptor, and the program is suspended echo k donedone <$ file # The following is directed # Replace the read file with the following to retrieve 6 while read line <$ filedo for (I = 0; I <6; I ++); do read-u6 k # Here the file descriptor only has one program in the suspended state echo k donedone
.... You have to leave the eight younger siblings to score 88 points ....
Reply to discussion (solution)
What functions do you want to implement?
What functions do you want to implement?
Now I want to know why the sub-channel character is changed to one in the while read, and I started to write six in.
What functions do you want to implement?
Now I want to know why the sub-channel character is changed to one in the while read, and I started to write six in.
The O & M area of the Linux section should be familiar to many people. the skill speed of the O & M Linux commands of our company is fast, and the speed of typing is basically unnecessary. It is recommended to ask about the O & M of the Linux section.