Hello all.
Sorry, I know this question is similar to many others, but I just can seem to put together exactly what I need.
My file is tab delimitted and contains approximately 1 million rows. I would like to send lines 1,4,& 7 to a file. Lines 2, 5, & 8 to a second file. Lines 3, 6, & 9 to... (11 Replies)
Hello Everyone.
I am trying to display contains of a file from a specific line to a specific line(let say, from line number 3 to line number 5). For this I got the shell script as shown below:
if ; then
if ; then
tail +$1 $3 | head -n $2
else
... (5 Replies)
Hi,
I search all forum, but I can not find solutions of my problem :(
I have multiple files (5000 files), inside there is this data :
FILE 1:
1195.921 -898.995 0.750312E-02-0.497526E-02 0.195382E-05 0.609417E-05
-2021.287 1305.479-0.819754E-02 0.107572E-01 0.313018E-05 0.885066E-05
... (15 Replies)
I have a file that contains 87 lines, each with a set of coordinates (x & y). This file looks like:
1 200.3 -0.3
2 201.7 -0.32
...
87 200.2 -0.314
I have another file which contains data that was taken at certain of these 87 positions. i.e.:
37 125
42 175
86 142
where the first... (1 Reply)
Hi I have a file with over a million lines (rows) and I want to split everything from 500,000 to a million into another file (to make the file smaller). Is there a simple command for this?
Thank you
Phil (4 Replies)
Hi
i have requirement like below
M <form_name> sdasadasdMklkM
D ......
D .....
M form_name> sdasadasdMklkM
D ......
D .....
D ......
D .....
M form_name> sdasadasdMklkM
D ......
M form_name> sdasadasdMklkM
i want split file based on line number by finding... (10 Replies)
Hi,
Need to sort file based on the number of delimeters in the lines.
cat testfile
/home/oracle/testdb
/home
/home/oracle/testdb/newdb
/home/oracle
Here delimeter is "/"
expected Output:
/home/oracle/testdb/newdb
/home/oracle/testdb
/home/oracle
/home (3 Replies)
Hi friends, here is my problem.
I have three files like this..
cat file1.txt
=======
unix is best
unix is best
linux is best
unix is best
linux is best
linux is best
unix is best
unix is best
cat file2.txt
========
Windows performs better
Mac OS performs better
Windows... (4 Replies)
Dear Experts
my scenario is as follows...
I have one source folder "Source" and 2 target folders "Target_123456" & "Target_789101". I have 2 series of files. 123456 series and 789101 series. Each series has got 3 types of fiels "Debit", "Refund", "Claims".
All files are getting... (17 Replies)
Discussion started by: phani333
17 Replies
LEARN ABOUT DEBIAN
cwgen
CWGEN(1) General Commands Manual CWGEN(1)NAME
cwgen - generate groups of random characters for Morse code practice
SYNOPSIS
cwgen [-g --groups=groups] [-n --groupsize=groupsize] [-n --groupsize=group_min-group_max] [-r --repeat=repeat] [-x --limit=limit]
[-c --charset=charset] [-h --help] [-V --version]
cwgen installed on GNU/Linux systems understands both short form and long form command line options. cwgen installed on other operating
systems may understand only the short form options.
Options may be predefined in the environment variable CWGEN_OPTIONS. If defined, these options are used first; command line options take
precedence.
DESCRIPTION
cwgen provides a simple method to generate groups of random characters for use as input into cw. Command line options control the group
size, number of groups, and character set from which the random characters are selected.
COMMAND LINE OPTIONS
cwgen understands the following command line options. The long form options may not be available in non-LINUX versions.
-g, --groups
Specifies the number of groups of random characters to generate. The default value is 128.
-n, --groupsize
Specifies either the number of random characters in each group, if a single value is given, or a range for the number of random
characters in each group if a dash-separated pair of values is given. If a range is given, cwgen generates groups sized randomly
between 'group_min' and 'group_max'. The default value is 5.
-r, --repeat
Specifies the number of times to repeat each group. The default value is 0, indicating that each group is printed just once.
-x, --limit
Specifies an upper limit on the number of characters printed. This option is useful when using random group sizes, to ensure a
given amount of practice text. The default value is 0, indicating no upper limit on the number of characters printed.
-c, --charset
Defines the character set from which the random characters are selected. The default value is 'ABCDEFGHIJKLMNOPQRSTU-
VWXYZ0123456789'.
EXAMPLES
Generate 20 groups of 10 characters from the set EISH5, and sound them as Morse code. Both short-form and long-form option examples are
shown:
cwgen -g 20 -n 10 -c "EISH5" | cw -w 25 -t 850
cwgen --groups=20 --groupsize=10 --charset="EISH5" | cw --wpm=25 --tone=850
SEE ALSO
Man pages for cw(7,LOCAL), libcw(3,LOCAL), cw(1,LOCAL), cwcp(1,LOCAL), and xcwcp(1,LOCAL).
cwgen ver. 3.0.1 CW Tutor Package CWGEN(1)