9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using the code below to reformat the input (hp.txt). The output (newhp.txt) is not in the desired format and I can not seem to figure it out. I have attached both. Thank you.
perl -aF/\\t/ -lne 'print join(" ",@F) for ("0 A","0 G","0 C","0 T","A 0","G 0","C 0","T 0")' hp.txt > newhp.txt ... (4 Replies)
Discussion started by: cmccabe
4 Replies
2. UNIX for Dummies Questions & Answers
I have two files:
pgmname.ou1 - contains invoice data
pgmname.ou2 - contains unique file name for pgmname.ou1
I want to copy pgmname.ou1 to a file with the name specified in pgmname.ou2.
So if pgmname.ou2 has a line in it with the following data:
FILE.NAME.UNIQUE.csv
I want to:
cpy... (2 Replies)
Discussion started by: rjjv0208
2 Replies
3. Shell Programming and Scripting
Hi friend,
i have written script as below to check the file existance. but i got error
path="/k/p1100/users/jewel/Output"
FILENAME=`ls -lrt $path/*HT|tail -1|cut -d "/" -f 8`
if ; then
echo "$FILENAME is available "
chmod 755 $path/$FILENAME
/usr/bin/scp... (0 Replies)
Discussion started by: Jewel
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Though I was successful in following query, I like to know the other ways of doing it.
I have a file that is sent as an attachment via mail. However, while opening it, notepad does not recognize new line character whereas other editors like text pad recognizes new line character of unix.... (2 Replies)
Discussion started by: bobbygsk
2 Replies
5. Programming
Dear All
I have 200 data files and each files has many duplicates.
I am looking for the automated awk script such that it checks and removes the duplicates from the each file and saving them as new files for all 200 files in the respective folder.
For example my data looks like this..
... (12 Replies)
Discussion started by: bala06
12 Replies
6. Shell Programming and Scripting
I have a report similar to the below:
^L"0.1","Run Date : 19/11/10 Navneet Bank, N.A. PAGE NO : 1"
"0.2",Proc Date : 19/11/10 GLOBAL A/C SYSTEM ... (2 Replies)
Discussion started by: Gangadhar Reddy
2 Replies
7. Shell Programming and Scripting
Hi All,
I have run the below script but getting one small error. please help me to solve this.
ERROR:
tar: Error exit delayed from previous errors
CODE:
#! /bin/bash
CEP=/home/user01/exercise/CEP
ARCH=/home/user01/exercise/archive
LOG=/home/user01/exercise/logs... (3 Replies)
Discussion started by: aish11
3 Replies
8. Shell Programming and Scripting
i have two files as
file1:
1
2
3
file2:
a
b
c
and the output should be:
file3:
1~a
2~b
3~c (1 Reply)
Discussion started by: mlpathir
1 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
Need to get the information if there is any tool on Unix for Archiving and retrival of documents automatically. Having the capbalilty to integrate with other systems. And provide the APIs which can be called from other Systems to facilitate automatic Archival and Retrieval.
Thanks &... (7 Replies)
Discussion started by: sanjeev0915
7 Replies