10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have written a syllable splitter for Pseudo English and Indic.
I have a large database with the following structure
Syllables in Pseudo English delimited by |=Syllables in Devanagari delimited by |
The tool produces syllables in both scripts. An example is given below:
... (2 Replies)
Discussion started by: gimley
2 Replies
2. Shell Programming and Scripting
In the below awk I am trying output to one file those lines that match between $2,$3,$4 of file1 and file2 with the count in (). I am also trying to output those lines that are missing between $2,$3,$4 of file1 and file2 with the count of in () each. Both input files are tab-delimited, but the... (7 Replies)
Discussion started by: cmccabe
7 Replies
3. Shell Programming and Scripting
Hi,
I have a requirement like below.
client is sending the .txt filles.In that file we have 10 records but when I execute the below command it is showing 9 records.
klena20> wc -l sample_file.txt|awk '{print $1}'
It is showing the output as 9
But in a file records are 10. I found... (7 Replies)
Discussion started by: kirankumar
7 Replies
4. Shell Programming and Scripting
Hi there,
I'm new to shell scripting...
I've a situation like to find *.tar files under all subdirectories in "/home/abcd" and i used the below,
find /opt/lhapp ! -name "temp" | more
the above works fine.. Now don't need search few direcotries like "/home/abcd/aaaa",... (15 Replies)
Discussion started by: skcvasanth
15 Replies
5. Shell Programming and Scripting
I'm tring to:
find files recursively older than x days that contain dat or DAT then tar them
I can find the files older than 90 days containing dat with this:
find . -mtime +90 -type f -name "*dat*" -exec tar -cvvfp /some/path/some.tar {} \;
but how do I do it case insensitive?
... (3 Replies)
Discussion started by: Ikon
3 Replies
6. UNIX for Dummies Questions & Answers
Hi Folks,
I have a tar.gz compressed file with me, and I want to know the number of files in the archive without uncompressing it.
Please let me know how I can achieve it.
Regards
RK Veluvali (5 Replies)
Discussion started by: vrk1219
5 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
8. Shell Programming and Scripting
Hi,
I have a doubt when searching files for the existence of a particular key.
I have a property file has data with key and value pair like below and i call it as property file.ini
here are the contents in File: popertyfile.ini
location.property=2
agent.method=begin
newkey=23
... (2 Replies)
Discussion started by: raghu.amilineni
2 Replies
9. Shell Programming and Scripting
hi i have two files and i want to compare both the files and find out mismatch in 3rd file
file1
00354|1|0|1|1|0|0|0|1|2
52424|1|0|1|1|0|0|0|1|2
43236|1|0|1|1|0|0|0|1|2
41404|1|0|1|1|0|0|0|1|2
79968|1|0|1|1|0|0|0|1|2
file2
00354|1|0|1|1|0|0|0|1|2
52424|1|0|1|1|0|0|0|0|2... (9 Replies)
Discussion started by: dodasajan
9 Replies
10. UNIX for Dummies Questions & Answers
Hi
I have a several files with .tar or .gz in a known location.
i have files with one of the several files of .tar or .gz
text.txt
help.pl
move.txt
how do i write a script to find out those particular files .tar or .gz where that contains the above mentioned files (i.e,... (2 Replies)
Discussion started by: gkrishnag
2 Replies