08-04-2008
What question are you answering, SC???
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have a text file and I want to clean up the file by only print those lines start with the date. Is there anyway I can do that?
Thanks
CT (1 Reply)
Discussion started by: CamTu
1 Replies
2. UNIX for Dummies Questions & Answers
It my first post here .
I just want to get the content of the file as values for printinting along with line number in LINUX
Here is what I tried .
$ cat test1.txt
ABC
DSF
GHI
JKL
MNO
PQR
STU
VWX
YZO
$ cat test.sh
#!/bin/ksh (4 Replies)
Discussion started by: rajavu
4 Replies
3. Shell Programming and Scripting
Hi All,
File that I have:
<ct>
<name>group
<value>1
<value>2
<value>3
</ct>-->file
The output that I needed is
<ct>
<name>group
<value>1 -->file1
<ct>
<name>group
<value>2 -->file2 (6 Replies)
Discussion started by: natalie23
6 Replies
4. Shell Programming and Scripting
Hi I have a very long file with 4 columns of numbers for example
1875 1876 12725 12723
13785 13786 4232 4230
13184 13185 ... (2 Replies)
Discussion started by: ananyob
2 Replies
5. Windows & DOS: Issues & Discussions
Hi
I want to print lines 20-30 from a file.
In UNIX , this command will work
sed -n '20,30p' file
However what is the equivalent command in DOS ?
Pls help me ! (2 Replies)
Discussion started by: dashing201
2 Replies
6. Shell Programming and Scripting
Hi all,
This should be very easy but I can't figure it out...
I have a file that looks like this:
@SRR057408.1 FW8Y5CK02R652T length=34
AGCAGTGGTATCAACGCAGAGTAAGCAGTGGTAT
+SRR057408.1 FW8Y5CK02R652T length=34
FIIHFF6666?=:88@@@BBD:::?@ABBAAA>8
@SRR057408.2 FW8Y5CK02TBMHV length=52... (1 Reply)
Discussion started by: kmkocot
1 Replies
7. Shell Programming and Scripting
Hi,
I have two files. 1st file has 1 column (huge file containing ~19200000 lines) and 2nd file has 2 columns (small file containing ~6000 lines).
#################################
huge_file.txt
a
a
ab
b
##################################
small_file.txt
a 1.5
b 2.5
ab ... (4 Replies)
Discussion started by: AshwaniSharma09
4 Replies
8. Shell Programming and Scripting
Hello everyone,
I have a little script below:
die "Usage infile outfile reGex" if @ARGV != 3;
($regex) = @ARGV;
open(F,$ARGV) or die "Can't open";
open(FOUT,"+>$ARGV") or die "Can't open";
while (<F>)
{
print FOUT if /$regex/.../$regex/;
}
No matter what I give $regex on the... (2 Replies)
Discussion started by: new bie
2 Replies
9. UNIX for Dummies Questions & Answers
Hello I am a new unix user, and I have a work related task to compare 2 files and print all of the lines in file 2 that contain a string from file 1 Note: the fields are in different columns in the files. I suspect the is a good use for awk? Thanks for your time & help
File 1
123 232 W343... (6 Replies)
Discussion started by: KevinRidley
6 Replies
10. Shell Programming and Scripting
Dear All,
a.txt
A 1 Z
A 1 ZZ
B 2 Y
B 2 AA
how can i use awk one line to achieve the result:
A Z|ZZ
B Y|AA
Thanks (5 Replies)
Discussion started by: jimmy_y
5 Replies
LEARN ABOUT NETBSD
isdntel
ISDNTEL(8) BSD System Manager's Manual ISDNTEL(8)
NAME
isdntel -- isdn4bsd telephone answering management utility
SYNOPSIS
isdntel [-a aliasfile] [-d spooldir] [-p playcommand] [-t timeout]
DESCRIPTION
isdntel is used to provide an ``answering machine'' functionality for incoming telephone voice messages.
The following options are supported:
-a Use aliasfile as the pathname for an aliasfile containing aliases for phone numbers. The default path is /etc/isdn/isdntel.alias.
The format of an alias entry is the number string followed by one or more spaces or tabs. The rest of the line is taken as the alias
string. Comments are introduced by a leading blank, tab or ``#'' character.
-d Use spooldir as the directory where the incoming voice messages are stored by the ``answ'' script called by isdnd(8). This defaults
to the directory /var/isdn. The format of a voice message filename is:
YYMMDDhhmmss-dest_number-source_number-length_in_secs
-p Use playcommand as the command string to execute for playing a voice message to some audio output facility. The characters %s are
replaced by the currently selected filename. The default string is cat %s | alaw2ulaw >/dev/audio
-t The value for timeout specifies the time in seconds the program rereads the spool directory when there is no keyboard activity.
The screen output should be obvious. If in doubt, consult the source.
SEE ALSO
isdntel(4), isdnd.rc(5), isdnd(8)
AUTHORS
The isdntel utility and this manual page were written by Hellmuth Michaelis <hm@kts.org>.
BSD
July 11, 1998 BSD