I have a file called clientname_filename.csv
whose contents are like
col1|col2|col3|col4|
510|abc|xxx|450|
510|abc11|yyy|350
510|pqr99|zzz| 670
512|222|439|110
Here i have check the contents of column for data type.
i have a constraints that col1 always contain Numeric value column 2... (12 Replies)
Hi all,
I am very new to this forum and also new to UNIX.
I am working on HP-UX machine. I noticed that for some of the users I am unable to insert the # character in a file in vi mode.
May I know y am I having the problem and how can I resolve this
Thanks,
Maroli (1 Reply)
Hi,
I've written a script to interrogate all fibre devices on our systems and output the WWNs to a file. I now want to insert a ":" every 2 characters into the WWN so I can write another script to create aliases within the SAN.
So the current file has WWNs in the following format;... (2 Replies)
Hi
I m having ifconfig -a o/p like
sbanlab1:ksh# ifconfig -a | egrep "flags|inet" | awk -F' ' '{print $1,$2}'
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>
inet 127.0.0.1
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>
inet 127.0.0.1
bge0:... (1 Reply)
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Hi experts,
Need your help on how to insert carriage return after the 10th char position of each line in a file and then add two blank spaces after the carriage return.
Example:
>cat test.txt
testingline
dummystring
samplesample
teststringline
Expected output should be..
... (2 Replies)
Hi All,
I have 4 big files which contains one big line containing formatted character records, I need to format each file in such way that each File will have 95 Characters per line. Last line of each file will have newline character at end.
Before:-
File Name:- File1.dat
102 121340560... (10 Replies)
Hi Gurus,
I need separate one file which is one huge line to mutiple line.
file like
abcd # bcd # def # fge # ged
I want to get
abcd
bcd
def
fge
ged
Thanks in advance (4 Replies)
I have a test file that I want to read and insert only certain lines into the
the table based on a filter.
1. Rread the log file 12 Hours back Getdate() -12 Hours
2. Extract the following information on for lines that say "DUMP is
complete"
A. Date
B. Database Name
C.... (2 Replies)
Have a file which has the create statement like below
create table emp
( empno integer,
empname char(50))
primary index(empno);
i need to find a string starting with create and ends with semi-colon ;. if so insert the below statement before create statement
rename table emp to emp_rename;... (2 Replies)
Discussion started by: Mohan0509
2 Replies
LEARN ABOUT CENTOS
tartrc
tartrc(5) LinuxTaRT configuration file format tartrc(5)NAME
.tartrc - Configuration file for LinuxTaRT
DESCRIPTION
LinuxTaRT uses a configuration file called tartrc. This configuration file is searched for in the following location:
~/.tartrc
PARAMETERS
CustomText1 = string
Signature header or text to replace %c1 in template.
CustomText2 = string
Signature footer or text to replace %c2 in template.
SignatureFile = /path/to/signature_file
Location and name file to write the sigature to.
TagLineDatabase = /path/to/tagline_database
Location and name of tagline database. (defaults to /etc/tart.tags)
SpecialDates = /path/to/special_dates
Location and name of special date file.
CustomFile = /path/to/template
Location and name of layout template.
The following settings may be overridden from the command line.
RunQuiet = 0|1
Display information during executution.
ShowDate = 0|1
Display the date in the default signature.
ShowVersion = 0|1
Display the LinuxTaRT version in the default signature.
CenterText = 0|1
Center the text in the default signature.
UseCustomText = 0|1
Generate signature from template or use default layout.
UseSpecialDates = 0|1
Check special date file for special dates.
RunAsDaemon = seconds
Run as a daemon and wait this many seconds between updates.
FILES
~/.tartrc
SEE ALSO tart(1)tartdates(5)tart-custom(5)Mark Veinot 1.0.0 tartrc(5)