Hi
I have one file named pd.txt containing
I need to cut columns as
cut -c 001-019,020-059,060-089,090-101,102-113,114-131,132-136,137-137,138-142,143-147,148-150,151-180,181-210,211-213,214-216,217-221,222-229,230-233,234-235,236-244,245-253,254-256,257-266,267-270,271,272-282,283-284,285-288,289,290,291-297,315 pd.txt
but after every range of column I have to add one delimeter say"~"
hi,
I am trying to get the FileType using the File command. I have one file, which holds Group separator along with ASCII character.
It's a Text file.
But when I ran the File command the FileType is coming as "data".
It should be "ASCII, Text file".
Is the latest version of File... (6 Replies)
Hi,
I have a CSV file of 40 columns with "," as delimiter. I want to assign the value of each column to a variable. But some of the columns content inside contains "," so how can i split the columns and assign it to a variable.
Regards,
ARASU. (1 Reply)
I have a file with the following content:
a-123-345-232
a-23343-4545-545
a-67676-45454-8787
a-129-8912-9824
b-564-78678-2322
b-5454-76767-8899
b-85554-124-152-29
c-34534-654543-323
(... and so on, actually these are pretty huge records)
Now, I want that the file should not be broken in to... (8 Replies)
Hello,
I have a file:
xandyandz
x & y & z
x*y*z*a
I require output as:
zandyandx
z & y & x
a*z*y*x
here all lines have different field seperator (and & * )based on that i want to reverse the column of a file.
Pl. help. (8 Replies)
Hello,
I am new to shell
I have a folder which contains a list of files, all the files contain the separator :
I need to replace this character for all the filenames (by batch)
ex: hello:world should become hello-world
please help
Thanks (3 Replies)
Dear All,
this is very quick question from all the user need your real help.
I have a file in a format like
############################### 20111213-01:00:00 #####################################################
|1002|0.7|3.9421424319336|/opt/bea/j2sdk1.4.
|8241|0.5|0.43139228816|esd... (3 Replies)
Folks,
can anyone throw a code snippet here to insert a comma " , " after each word in a line when doing a file read and output the delimited text to a file.
Appreciate your help
Venu (9 Replies)
hi thanks a lot
But pls help me if my input file is the below 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
Name2 priya2 2010-09-21 10:43:49
TEXT ID 1
hi1
TEXT ID 2
how1
TEXT ID 3
r1 (4 Replies)
Hi All,
I am using Make to compile my java code. I am pasting the portion which is creating an issue.
install: $(FPR_FILES)
if test $OS = "Linux";
then
@echo "TEST"
-$(INS) -d -m 775 $(INSDIR)/linux/deployment
cp -R $(ROOT)/deployment $(INSDIR)/linux/deployment
... (3 Replies)
Hi, Iam new to unix. I have one input file .
Input file :
ID1~Name1~Place1
ID2~Name2~Place2
ID3~Name3~Place3
I need output such that only first column should change to fixed width column of 15 characters of length.
Output File:
ID1<<12 spaces>>Name1~Place1
ID2<<12... (5 Replies)