11-16-2011
Quote:
thanks first
but i mean there is no grep -ie Type / datarecords.txt
for example to prevent getting the filename
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Guys ,
Kindly note that i have sun solaries 8 intel machine .
i installed apache and it is working fine .
i am installing perl5 , MD5 and CGI .
but whenever i execute the commands , make , make test and make install i get error message : not found
# make
make: not found
also i... (2 Replies)
Discussion started by: tamemi
2 Replies
2. UNIX for Dummies Questions & Answers
hi
i tried to search for the "make" command but to no avail.
this is what happens:
when i try to type the "make" command,
it prompt me the error "
csh:make:not found
***error code 1
make:Fatal error: command fail for target 'all' "
i have just freshly install solaris 9 on my server.... (8 Replies)
Discussion started by: legato
8 Replies
3. Shell Programming and Scripting
Hey Guys,
Wondering if there is a way to do the following
I have a file called test.txt
abc
def
abc
abc
def
I have a pattern file called pattern.txt containing the following
abc
def
I want to do a count, but have it display the count value preceeding each line like grep -n (2 Replies)
Discussion started by: Jerrad
2 Replies
4. Solaris
Hey Guys....
I installed Solaris 10 (10/08) on _X86 platform, I need install any software of load balance. I find the pen-0.18.0-sol10-x86-local software.
I cant finish the install process , i dont find the make command, I think this command is associated to the C compiler process.
But... (2 Replies)
Discussion started by: aggadtech08
2 Replies
5. AIX
I use grep to check for a string that validates data in a file, it works great but the problem is that the file is becoming too big and gerp has started hurting the response time to users. Since I only need to find the first occurrence I have been looking for ways to stop grep for scanning the rest... (8 Replies)
Discussion started by: mpoblete
8 Replies
6. Solaris
dears
what i need to make is
cp -irp file_name filename
tar cvf filename.tar filename
gzip filename.tar
in one commane using exec
it that prossible and how can i do that (4 Replies)
Discussion started by: xxmasrawy
4 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
File hello.h
#include <stdio.h>
File main.c
#include "hello.h"
main()
{
printhello();
... (4 Replies)
Discussion started by: lilbo4231
4 Replies
8. Shell Programming and Scripting
I am trying to program a script that is using grep to find lines in a file in my home directory, and then use a pipe command to copy what is shown into different files in a different directory to create backup files. When I run it, though, it only creates a copy of the file that grep was going... (7 Replies)
Discussion started by: sammythesp3rmy
7 Replies
9. UNIX for Dummies Questions & Answers
How would I do the following :
Records other than ”ATOM”,”CONNECT”, ”HETATM”, ”TER” and ”END” are considered header records which describe the metadata about the molecule. Use grep to generate the header.
I have this chemistry database. On the attachment. But I am not sure how to use... (4 Replies)
Discussion started by: homeylova223
4 Replies
10. UNIX for Beginners Questions & Answers
in RHEL 6.10, how can we make the the df -k return the output without wrapping. And wihout using the df -Pk option. After we patched a Linux server from 6.5 to 6.10:
The df -k on RHAT 6.10 it wraps the line for ex:
6.10:
/dev/mapper/vgapp01-vendor
... (2 Replies)
Discussion started by: mrn6430
2 Replies
LEARN ABOUT OPENSOLARIS
scrl
scrl(3XCURSES) X/Open Curses Library Functions scrl(3XCURSES)
NAME
scrl, scroll, wscrl - scroll a window
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
int scrl(int n);
int scroll(WINDOW *win);
int wscrl(WINDOW *win, int n);
PARAMETERS
n number and direction of lines to scroll
win pointer to the window in which to scroll
DESCRIPTION
The scroll() function scrolls the window win up one line. The current cursor position is not changed.
The scrl() and wscrl() functions scroll the window stdscr or win up or down n lines, where n is a positive (scroll up) or negative (scroll
down) integer.
The scrollok(3XCURSES) function must be enabled for these functions to work.
RETURN VALUES
On success, these functions return OK. Otherwise, they return ERR.
ERRORS
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
clearok(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)
SunOS 5.11 5 Jun 2002 scrl(3XCURSES)