10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Help! :)
I am getting an output file that looks similar to below.
EMAIL_ADDR
-----------------------------------------------------------------------------------
user@gmail.com
DATABASENAME
-----------------------------------------------------------------------------------
db1
db2
db3... (6 Replies)
Discussion started by: cpolikowsky
6 Replies
2. Shell Programming and Scripting
Hi Guys,
Need help with logic to break Column nth in a CSV file into two
for e.g
Refer below the second column as the nth column
"abcd","","type/beta-version"
need output in a following format
"abcd","/place/asia/india/mumbai","/product/sw/tomcat","type/beta-version"
... (5 Replies)
Discussion started by: awk-admirer
5 Replies
3. Shell Programming and Scripting
Hi Experts,
Kindly help me to resole the line break issue mentioned below sample xml file:
sample source File:
==============
<?!New XML File><NEWRECORDS xmlns... (3 Replies)
Discussion started by: UnniVKN
3 Replies
4. UNIX for Dummies Questions & Answers
I searched and found "echo -n" and "printf" are solution for this, but they are not
here:
$ echo "hello" >> test
$ cat test
hello
$ echo -n "world" >> test
$ cat test
hello
world
$ echo -n " seriously?" >> test
$ cat test
hello
world seriously?
This is not successful... (15 Replies)
Discussion started by: stunn3r
15 Replies
5. Shell Programming and Scripting
Hi,
We have 1lac records in source file and unix script will genarate around 1000 files.
From target location the files are taking for printing on physical papers.
the page size limitation : 256 Lines
Can you please tell me how to insert the page break in a flat file for printer. (5 Replies)
Discussion started by: koti_rama
5 Replies
6. Shell Programming and Scripting
Hi,
The shell script inserting the millions of rows into target flat file system and handling the line number for each line.
We need a page break line after every 10,000 lines.
is there any command to insert a page break line into target file. (3 Replies)
Discussion started by: koti_rama
3 Replies
7. Shell Programming and Scripting
Hi,
we are trying to process a csv file,in which we are getting data with line breaks.How to remove the line break character in the file?
when i try to print the line break charcter using od -c,it gives as '\n' character for both line break and line feed.
Please provide your valuable... (6 Replies)
Discussion started by: cnraja
6 Replies
8. Shell Programming and Scripting
I am trying to break a large file into smaller ones, with the break defined by the character "*".
The following is the code I have so far which breaks the input file on every line instead of at the "*" character.
Input file:
1
2
3
4
*5
6
7
8
9
Code:
#!/usr/bin/perl... (2 Replies)
Discussion started by: cold_Que
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
i need to break a file into 2 files afetr matching a pattern
for ex. there is a fil, file .txt which contains
here i need to look for mat $ demon if it matches then i need to transfer the data into another file till the line in which a "d6s" comes,and i have to delete tat line... (3 Replies)
Discussion started by: manit
3 Replies
10. Shell Programming and Scripting
Hello I am facing a scenario where I have a file with XML content and I am running shell script over it. But the problem is the XML is getting updated with new services. In the below scenario, my script takes values from the xml file from one service name say ABCD. Since there are multiple, it is... (8 Replies)
Discussion started by: chiru_h
8 Replies