Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Check for difference in output of 2 commands? Post 302489836 by methyl on Friday 21st of January 2011 08:28:36 PM
Old 01-21-2011
In future posts please mention that you are on a MAC and the version of MACOS. If not you may get solutions which do not run on your computer.


Quote:
command (feed result to) search_for_result_from_previous_command (feed result to) echo_to_standard_output
The MSDOS pipeline is pretty much the same as the unix pipeline from which it was derived (Imho to avoid M$ wrath).

Code:
dir | find /i "my_filename" | more

ls | grep -i "my_filename" | more

This User Gave Thanks to methyl For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what's the difference of these two commands?

shouldn't they give the same output? echo `echo \`date\`` is the same as the command date echo `echo date` prints the word date thanks! (3 Replies)
Discussion started by: kfad
3 Replies

2. Solaris

difference between these commands??

Hi, I would like to know what is the difference between executing the mount command in the following ways... eg: /usr/sbin/mount -F <something> AND mount -F <something> I mean , just executing the mount command as opposed to specifying the path and then executing it? ... (3 Replies)
Discussion started by: wrapster
3 Replies

3. UNIX for Dummies Questions & Answers

Difference in commands

Hello All, I have a question about the difference between two commands. I am using Korn and was told by the Unix admin that 'nohup <command> &' equals 'nohup ./<command> &. That there is no difference betwewen the two. Is this true? Also, does the command './<command> &' provide a disconnect... (4 Replies)
Discussion started by: grin1dan
4 Replies

4. Shell Programming and Scripting

Difference in auth key commands?

Good morning! What is the difference between: ssh-keygen -t rsa and ssh-keygen -b 2048 -t rsa? Thanks Bigben (2 Replies)
Discussion started by: bigben1220
2 Replies

5. Shell Programming and Scripting

Difference between the commands

HI all, Please clarify the difference between the following pm2srv:/var/opt/temip/vf/scripts/saiki#awk '{RS = ":"} ; {print $0}' testf2 hey:wasup:howru: Yes I am fine pm2srv:/var/opt/temip/vf/scripts/saiki#awk 'BEGIN { RS = ":" } ; { print $0 }' testf2 hey wasup howru Yes I... (0 Replies)
Discussion started by: saiki
0 Replies

6. Shell Programming and Scripting

Difference between 2 grep - commands

Hi, I need to know the difference between this commands: grep * *search* grep "*" *search* As far as i know does the 2nd command search for files which have a name with *search* and greps then all which have chars from a-z in the file content. But was does the first command?? Best... (1 Reply)
Discussion started by: xus
1 Replies

7. Solaris

Performance difference between commands

Looking at the performance hit on my server, does it matter wich command I run? client # rsh server tar –cf - . | tar –cv –f – or server # tar –cf – . | rsh client ‘cd target && tar –xv -f –‘ I think it doesn't really matter because both command strings involve a tar being run on... (4 Replies)
Discussion started by: petervg
4 Replies

8. AIX

HACMP: difference between 'cl' commands and 'cli' commands

Hi all, I'm new in this forum. I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli". The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory. I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies

9. Shell Programming and Scripting

Difference between these cron commands

Hi all I want to make sure I was understanding this correctly if a cron job command was * */20 * * * command does that mean this command will run every 20 hours? also what is the difference between the following two? 0,20,40 * * * * command 20 * * * * command I believe the first... (3 Replies)
Discussion started by: subway69
3 Replies

10. Solaris

Difference between commands

i need to know the difference between two commands ps -ef|grep oracle ps -ef|grep -v grep |grep oracle (1 Reply)
Discussion started by: smazshah
1 Replies
GLVALIDATEPROGRAMPIP(3G)					   OpenGL Manual					  GLVALIDATEPROGRAMPIP(3G)

NAME
glValidateProgramPipeline - validate a program pipeline object against current GL state C SPECIFICATION
void glValidateProgramPipeline(GLuint pipeline); PARAMETERS
pipeline Specifies the name of a program pipeline object to validate. DESCRIPTION
glValidateProgramPipeline instructs the implementation to validate the shader executables contained in pipeline against the current GL state. The implementation may use this as an opportunity to perform any internal shader modifications that may be required to ensure correct operation of the installed shaders given the current GL state. After a program pipeline has been validated, its validation status is set to GL_TRUE. The validation status of a program pipeline object may be queried by calling glGetProgramPipeline() with parameter GL_VALIDATE_STATUS. If pipeline is a name previously returned from a call to glGenProgramPipelines() but that has not yet been bound by a call to glBindProgramPipeline(), a new program pipeline object is created with name pipeline and the default state vector. ERRORS
GL_INVALID_OPERATION is generated if pipeline is not a name previously returned from a call to glGenProgramPipelines() or if such a name has been deleted by a call to glDeleteProgramPipelines(). ASSOCIATED GETS
glGetProgramPipeline() with parameter GL_VALIDATE_STATUS. SEE ALSO
glGenProgramPipelines(), glBindProgramPipeline(), glDeleteProgramPipelines() COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. AUTHORS
opengl.org opengl.org 06/10/2014 GLVALIDATEPROGRAMPIP(3G)
All times are GMT -4. The time now is 10:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy