Sponsored Content
Top Forums Shell Programming and Scripting [Solved] Script is ignoring   Post 302753591 by sathyaonnuix on Wednesday 9th of January 2013 04:45:16 AM
Old 01-09-2013
Quote:
Originally Posted by Corona688
What are you opening the email in? You may have more luck sending it as a .txt file attachment than expecting a Microsoft email client to arrange text contents unmolested.

Corona688, thanks for your reposnse. I am not good at attaching txts with sendmail , also I am not looking for attachments, since the fellas using this alert will ignore if it comes in attachments Smilie

---------- Post updated at 04:45 AM ---------- Previous update was at 03:35 AM ----------

Found the solution Smilie
By adding <br> at the end , i reached my desired output.

Code:
netstat -a | awk '/ESTABLISHED/ && /9071/ {split($5,a,"."); print a[1]}' | sed 's/$/<br>/'

Thanks for your time Jotne and Corona Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

&nbsp; ??

What does &nbsp; do ?? I have read this in a question but have never come accross it. (5 Replies)
Discussion started by: finster
5 Replies

2. Shell Programming and Scripting

Is it possible - SCP script ignoring certain files

Hey everyone. First, let me preface this post by stating that there are some bad things I'm doing. I'm using python to work around SCP's refusal to take standard input for a password. The reason for doing this as opposed to using keys is because the servers are on lock down due to them being in our... (1 Reply)
Discussion started by: msarro
1 Replies

3. Shell Programming and Scripting

Simple Bash Script:ignoring --exclude?

My super simple script works fine when I type it in manually but when I run it from a file as a script the --exclude option is ignored...what am I missing here? #!/usr/bin/bash tar czvf PackUpCases case0* log* --exclude runtpe (5 Replies)
Discussion started by: cpabrego
5 Replies

4. UNIX for Dummies Questions & Answers

[Solved] Using awk to obtain minimum of each column (ignoring zeros)

Hi, I have a wide and long dataset which looks as follows: 0 3 4 2 3 0 2 2 ... 3 2 4 0 2 2 2 3 ... 0 3 4 2 0 4 4 4 ... 3 0 4 2 2 4 2 4 ... .... I would like to obtain the minimum of each column (ignoring zero values) so the output would look like: 3 2 4 2 2 2 2 2 I have the... (3 Replies)
Discussion started by: kasan0
3 Replies

5. UNIX for Dummies Questions & Answers

[solved] Where & what bash env file, Mac OS?

Hi! I wanted to simplify my bash prompt, so I edited my etc/bashrc file. I thought this was the file that would override any other env files. When I opened it, I saw that the way it was setup was not what my prompt looked like, although I forget exactly what was there. But i edited it the way I... (1 Reply)
Discussion started by: sudon't
1 Replies

6. Shell Programming and Scripting

[Solved] BASH - chaining TEST and COMMAND with && and II

Can you explain what this line of script is doing. What I have understood is : -- variable C is the name of a software which is either not installed, so it must be installed or allready installed and then should be update if newer version found -- branch B="$B $C" is to install the software --... (4 Replies)
Discussion started by: jcdole
4 Replies

7. Shell Programming and Scripting

[Solved] Get files & delete them by shell script

I want to use my script to get any file then delete it once it transfers to my side , I manage to create below script to generate "list" file which contains all file names in "10.10.1.1" then I made "a.out" file which contains the commands that I want to run it on "10.10.1.1" to get & delete the... (2 Replies)
Discussion started by: arm
2 Replies

8. Shell Programming and Scripting

[Solved] Isolating & Counting IP from log file

Dear Community, today my website was under attack for several hours. 2 specific IPs make a tons of "get requests" to a specific page and apache server goes up and down. Now the problem is solved because I put in firewall blacklist these IPs, but I took a lot of time to analyze the apache log to... (6 Replies)
Discussion started by: Lord Spectre
6 Replies

9. Shell Programming and Scripting

SFTP Shell Script Get & Delete && Upload & Delete

Hi All, Do you have any sample script, - auto get file from SFTP remote server and delete file in remove server after downloaded. - only download specify filename - auto upload file from local to SFTP remote server and delete local folder file after uploaded - only upload specify filename ... (3 Replies)
Discussion started by: weesiong
3 Replies

10. Shell Programming and Scripting

How to replace multiple "&nbsp;" entry with in <td> tag into single entry using sed?

I have the input file like this. Input file: 12.txt 1) There are one or more than one <tr> tags in same line. 2) Some tr tags may have one <td> or more tna one <td> tags within it. 3) Few <td> tags having "<td> &nbsp; </td>". Few having more than one "&nbsp;" entry in it. <tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
GLINVALIDATEFRAMEBUF(3G)					   OpenGL Manual					  GLINVALIDATEFRAMEBUF(3G)

NAME
glInvalidateFramebuffer - invalidate the content some or all of a framebuffer object's attachments C SPECIFICATION
void glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum * attachments); PARAMETERS
target The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER. numAttachments The number of entries in the attachments array. attachments The address of an array identifying the attachments to be invalidated. DESCRIPTION
glInvalidateFramebuffer invalidates the content of a specified set of attachments of a framebuffer. The framebuffer whose content to invalidate is indicated by setting target to the target to which it is bound. target may be GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_DRAW_FRAMEBUFFER. GL_FRAMEBUFFER is treated as if it were GL_DRAW_FRAMEBUFFER. The set of attachments whose content to invalidate are specified in an array whose address is given by attachments and which contains numAttachments elements. The elements of attachments must be GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENTGL_DEPTH_STENCIL_ATTACHMENT, or GL_COLOR_ATTACHMENTi, where i is between zero and the value of GL_MAX_FRAMEBUFFER_ATTACHMENTS minus one. Furthermore, if the default framebuffer is bound to target, then attachments may contain GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_AUXi, GL_ACCUM, GL_COLOR, GL_DEPTH, or GL_STENCIL, identifying that specific buffer. GL_COLOR, is treated as GL_BACK_LEFT for a double-buffered context and GL_FRONT_LEFT for a single-buffered context. After glInvalidateFramebuffer is executed, the contents of the specified attachments become undefined. ERRORS
GL_INVALID_ENUM is generated if target is not one of the accepted framebuffer target tokens. GL_INVALID_ENUM is generated if any element of attachments is not one of the accepted framebuffer attachment tokens. GL_INVALID_OPERATION is generated if element of attachments is GL_COLOR_ATTACHMENTi where i is greater than or equal to the value of GL_MAX_COLOR_ATTACHMENTS. ASSOCIATED GETS
glGet() with argument GL_MAX_COLOR_ATTACHMENTS SEE ALSO
glInvalidateTexSubImage(), glInvalidateTexImage(), glInvalidateBufferSubData(), glInvalidateBufferData(), glInvalidateSubFramebuffer(). COPYRIGHT
Copyright (C) 2012 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 GLINVALIDATEFRAMEBUF(3G)
All times are GMT -4. The time now is 11:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy