03-23-2010
Hi Drewk,
Thanks for the detailed explanation. The tool you referred is very handy. Trying to learn from that.Appreciate your guidelines.Very helpful.
Regards
uma
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have a big text file .
i want to create new file as extract some specific text
from the big file
i am using hp ux
please help (2 Replies)
Discussion started by: reyazan
2 Replies
2. Shell Programming and Scripting
Hi ,
I have file, which has the below content:
line 100
a
b
c
d
line300
a
s
d
f
s
line200
a
s
d
a (3 Replies)
Discussion started by: little_wonder
3 Replies
3. Shell Programming and Scripting
Hi
I want to extract certain text between two line numbers like
23234234324 and
54446655567567
How do I do this with a simple sed or awk command?
Thank you.
---------- Post updated at 06:16 PM ---------- Previous update was at 05:55 PM ----------
found it:
sed -n '#1,#2p'... (1 Reply)
Discussion started by: return_user
1 Replies
4. Shell Programming and Scripting
Does awk have a syntax for a range of numbers or is this the best way?
if ($1 >= 0 && $1 <= 9 ) (7 Replies)
Discussion started by: Arsenalman
7 Replies
5. Shell Programming and Scripting
This is my problem, my file (file A) contains the following information:
Now, I would like to create a file (file B) containing only the lines with 10 or more characters but less than 20 with their corresponding ID:
Then, I need to compare the entries and determine their frequency. Thus, I... (7 Replies)
Discussion started by: Xterra
7 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I have a file with over 100,000 lines. I would like to be able extract 5000 lines at a time and give it as an input to another program.
sed -n '1,5000p' <myfile> > myOut
Similarly for
5001-10000
10001-15000
....
How can I do this in a loop?
Thanks,
Guss (5 Replies)
Discussion started by: Gussifinknottle
5 Replies
7. Shell Programming and Scripting
Hi All,
I want to extract the lines from file1 by using the index numbers from file2. In example,
cat file1.txt
265 ABC 956 ...
698 DFA 456 ...
456 DDD 145 ...
125 DSG 154 ...
459 CGB 156 ...
490 ASF 456 ...
484 XFH 489 ...
679 hgt 481 ...
111 dfg 986 ...
356 vhn 444 ...... (7 Replies)
Discussion started by: senayasma
7 Replies
8. UNIX for Dummies Questions & Answers
hello!
could u, please, help:
i have a file that includes 6 columns space delimited
1 rs4477212 0 82154 0 T
1 rs6680825 0 91472 0 G
1 rs9326626 0 570178 0 T
1 rs12123356 0 724702 0 C
I need to extract to a separate file lines... (5 Replies)
Discussion started by: kush
5 Replies
9. Shell Programming and Scripting
I have a combination of patterns to search.
file.txt contains below:
H2016-02-10
A74867712
I1556539758
Xjdflk534jfl
W0000055722327732
W0000056029009389
A74867865
I1556536434
W0000055822970840
W0000055722325916
A74868015
I1556541270
C0000055928920421
E
lines starting with A are... (5 Replies)
Discussion started by: chakrapani
5 Replies
10. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
uucheck(8) System Manager's Manual uucheck(8)
NAME
uucheck - Checks for files and directories required by uucp
SYNOPSIS
uucheck [-v] [-xdebug_level]
FLAGS
Displays a detailed explanation of how the uucp program interprets the permissions file. Displays debugging information. The valid range
for debug_level is 0 to 9. The higher the number, the more detailed the final report.
DESCRIPTION
The uucheck command verifies the presence of the files and directories required by the uucp program. In addition to checking for the pres-
ence of files required by uucp, the uucheck command also checks for some errors in the /usr/lib/uucp/Permissions file.
The uucheck command does not check for correct file and directory modes or for errors in the /usr/lib/uucp/Permissions file, such as dupli-
cate login or machine names.
When the uucp program is installed, uucheck verifies that the directories, programs, and support files required to operate the networking
facility are present. The command is executed automatically, as one of the first steps in the installation process, before the required
uucp directories, programs, and files are actually installed.
Issue the uucheck command from the command line after installing uucp, configuring uucp for your site, or making changes in part of the
uucp program, such as the /usr/lib/uucp/Permissions file.
Note that the uucheck command can only be issued from the command line if you have superuser authority.
EXAMPLES
To find out how the uucp program interprets the /usr/lib/uucp/Permissions file, enter: uucheck -v The -v flag instructs the uucheck command
to verify that the uucp files exist and displays a detailed explanation of how the uucp programs interpret the permissions file. To set
the debug level to 8, enter: uucheck -x8
FILES
Specifies the command path Information about available devices Limits scheduled jobs Limits remote command executions Describes access per-
missions for remote systems Describes accessible remote systems Spooling directory Public directory Prevents multiple use of device nn
RELATED INFORMATION
Commands: uucico(8), uusched(8), uucp(1), uustat(1), uuto(1), and uux(1) delim off
uucheck(8)