I have two files file1 and file2 as shown below:
file1:
name
nameabc
bcd
nameabcdefg
file2:
age
age1111
age2345
age6743
I have pasted one file on the other with the delimiter "|" and the resulttant file is:
name|age
nameabc|age1111
bcd|age2345
nameabcdefg|age6743 (1 Reply)
Hi,
I am new to unix , I have a requirement for formating the input file and generate the output file as per the downstream requirement ..
My application receiving a text input file having 4 field and my application need to check each field and if some value of a field is blank ..then it need... (1 Reply)
I have a file called vm.cfg .
content of file.
acpi = 1
apic = 1
builder = 'hvm'
How would i write a script which will add
boot = 'd' at 3rd line.
For example.
after running the script the file should be like below.
acpi = 1
apic = 1
boot = 'd'
builder = 'hvm'
I dont want to... (3 Replies)
I am new ot unix. Is there one or two lines of command (sed may be) to format a file.
My source is..
<tag1>
<tag2>
<datatag1>
data1
</datatag1>
<datatag2>
data2
</datatag2>
<datatag3>
data3
</datatag3>
<datatag4>
data1
</datatag3>
</tag2>
</tag1> (2 Replies)
Pls help in formatting a txt file using shell scripting
Input file format:
Name priya 2010-09-21 10:43:49
TEXT ID 1
hi
TEXT ID 2
how
TEXT ID 3
r
TEXT ID 4
u
Output required:
name priya hi how r u (4 Replies)
can anyone one help me....to make date and time format...to following format for my file
DATE TIME
DD- MON- YEAR 24 Hours
I have a need of format like this
12-Jan-2012 in one column, then time in 24 Hours in another column....please help...me...
... (4 Replies)
I need to create a fixed width file based on the column lengths.
lets assume I have six(this may be dynamic) fields each are of different length
column1=6 #size of the column
column2=3
column3=2
column4=3
column5=4
column6=5
I tried below code snippet but it is not working
echo... (4 Replies)
I have a file like below
position1 0 7802 7802 0 client1 - -
position1 8 8032 8032 0 client1 ... (7 Replies)
Discussion started by: manas_ranjan
7 Replies
LEARN ABOUT FREEBSD
soeliminate
SOELIMINATE(1) BSD General Commands Manual SOELIMINATE(1)NAME
soeliminate -- interpret .so directive in manpages
SYNOPSIS
soeliminate [-Crtv] [-I dir] [files ...]
DESCRIPTION
soeliminate reads files lines by lines.
If a line starts by: ``.so anotherfile'' it replace the line by processing ``anotherfile''. Otherwise the line is printed to stdout.
-C Compatibility with GNU groff's soelim(1) (does nothing).
-r Compatibility with GNU groff's soelim(1) (does nothing).
-t Compatibility with GNU groff's soelim(1) (does nothing).
-v Compatibility with GNU groff's soelim(1) (does nothing).
-I dir This option specify directories where soeliminate searches for files (both those on the command line and those named in ``.so''
directive.) This options may be specified multiple times. The directories will be searched in the order specified.
The files are always searched first in the current directory.
A file specified with an absolute path will be opened directly without performing a search.
SEE ALSO mandoc(1), soelim(1)BSD November 22, 2014 BSD