Hi all,
I am new to UNIX, so sorry if my question seem stupid to u.
well i want to replace the first character of first 30 lines of a file, only if the first character is h.
and
in anothe script i want to replace a particular string/character say hello/h of a file.Condition: It should... (1 Reply)
Hi,
I have a file with "|" separated fields. If the line doesn't contain n "|" (say 2), then put this line in a file called invalid_file.txt. If it does put this row in a file called valid_file.txt.
For e.g. A file contain following rows:
Hi|Hello
How|Are|You
Hello
then
invalid_file.txt... (3 Replies)
Hi,
Is there any way to merge two lines based on specific occurance of a character in a file.
I am having a flat file which contains multiple records.
Each row in the file should contain specified number of delimiter.
For a particular row , if the delimiter count is not matched with... (2 Replies)
I have a '~' delimited file of 6 - 7 million rows. Each row should contain 13 columns delimited by 12 ~'s. Where there are 13 tildes, the row needs to be removed. Each row contains alphanumeric data and occasionally a ~ ends up in a descriptive field and therefore acts as a delimiter, resulting... (7 Replies)
Hello , this is my first topic cause I need your little help:(
I got .txt file, and I want to find lines without letter 'a', so im writing:
grep "" list.txt (list.txt is the file of course)
and i have no idea why it's not working because it shows lines with a. (1 Reply)
Hi All
It's me again with another huge txt files. :confused:
What I have:
- I have 33 huge txt files in a folder.
- I have thousands of line in this txt file which contain many the letter "x" in them.
- Some of them have more than one "x" character in the line.
What I want to achieve:... (8 Replies)
Hello All
I am trying to grep the list of id's in a .txt file(patterns.txt) against all log files which are in /logs directory in a server.
Patterns.txt file has only ID's, that means I need to search for each and every character.
Please help me how it can be done. (4 Replies)
Hi,
I have a requirement where I need to combine two lines in a file based on first character of each line in a file.
Please find the sample content of the file below:
Code:
_______________________
5, jaya, male, 4-5-90, single
smart
6, prakash, male, 5-4-84, married
fair
7, raghavi,... (1 Reply)
Hi,
I have a requirement where I need to combine two lines in a file based on first character of each line in a file.
Please find the sample content of the file below:
Code:
_______________________
5, jaya, male, 4-5-90, single
smart
6, prakash, male, 5-4-84, married
fair
7, raghavi,... (1 Reply)
Discussion started by: jayaP
1 Replies
LEARN ABOUT DEBIAN
nec2
NEC2(1) General Commands Manual NEC2(1)NAME
nec2, nec2small - Numerical Electromagnetics Code (Antenna Modelling Program)
SYNOPSIS
nec2 [INPUT] [OUTPUT]
nec2small [INPUT] [OUTPUT]
DESCRIPTION
nec2, is a versatile numerical Boundary Element Method (commonly called Method of Moments) antenna modelling code for the analysis of
antennas and other metal structures. It solves the integral equations for the currents induced on the structure by sources or incident
fields. The structure may either be excited by voltage sources on the structure, or by an incident plane wave of either elliptic or linear
polarisation. The structure and excitation are described in the INPUT file and the output is written to OUTPUT.
OPTIONS
Due to the age of the program, it expects input in the form of punched cards fed into a hopper. It currently does not accept any options.
If OUTPUT is omitted, output is written to stdout and if INPUT and OUTPUT are omitted then the input is taken from stdin and the output
written to stdout.
The maximum size of problem which the code can handle must be hard coded at compile time and no dynamic memory allocation is performed.
Two versions are therefore provided suitable for different sizes of problem, nec2 is compiled for a maximum of 10000 wire segments and 5000
surface patches, while nec2small is compiled for a maximum of 600 wire segments and 200 surface patches.
SEE ALSO somnec(1)
The NEC-2 code is fully documented in the report Numerical Electromagnetics Code (NEC) -- Method of Moments" by Burke and Poggio, which is
available as a printed publication in three parts covering the theory of operation, the program code and the users' manual. An updated
form of the users' manual part of this report can be found in /usr/share/doc/nec/NECdoc
BUGS
nec2 has been superseded by nec4, but this revised code has not been made available to the public, so it is possible that some bugs remain
in this version.
Also note that many variant source codes exist based on the original FORTRAN-IV listing in the report. This one is believed to be cor-
rectly working, but may still contain extra errors.
AUTHOR
This manual page was written by <alanb@chiark.greenend.org.uk>. The program was developed by G. J. Burke and A. J. Poggio of the Laurence
Livermore Laboratory.
NEC2(1)