8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have an issue with the below script
nawk 'NR==FNR{a=$4" "$5}NR>FNR{print NF?$0:a"\n";if(/^cn:/) x=$0}' FS="" in1.txt in2.txt > out1.txt
It is taking too long to get a string from in1.text, search for the string in in2.txt and create a new file out1.txt.
Is there any alternative way we... (1 Reply)
Discussion started by: Samingla
1 Replies
2. UNIX for Dummies Questions & Answers
find /full/path/dir \( ! -name dir -o -type f \) -prune -type f
on AIX it worked perfect :
sdp1:/var/tmp/test# find /var/tmp/test/ \( ! -name test -o -type f \) -prune \
-name "*properties" -type f -exec ls -l {} \; -exec cksum {} \;
-rw------- 1 root system 19 Dec 12... (5 Replies)
Discussion started by: laxmikant.hcl
5 Replies
3. Solaris
Is there any other editor, installed by 'default' in Sparc Solaris10, besides vi?
I'd like to avoid installing anything new.
If not, how to make vi more user-friendly?
thanks. (8 Replies)
Discussion started by: orange47
8 Replies
4. Shell Programming and Scripting
Hi techies ..
This is my first posting hr ..
Am facing a serious performance problem in counting the number of lines in the file. The input files i get will be in some 10 to 15 Gb of size or even sometimes more ..and I will load it to db
I have used wc -l to confirm whether the loader... (14 Replies)
Discussion started by: rajesh_2383
14 Replies
5. Red Hat
We have compx/decompx utilities on solaris platform, which are from bTrade.
Now we are migrating from Solaris 5.8 to RHEL5, I am wondering do we have something similar over there? obviously we are not looking into buying the license for RHEL.
Thanks in advance,
Girish (1 Reply)
Discussion started by: girishd
1 Replies
6. Shell Programming and Scripting
How to find a particular line in a file without using grep? (3 Replies)
Discussion started by: proactiveaditya
3 Replies
7. Shell Programming and Scripting
I have a perl script that just does a `du -sk -x` and formats it to look groovy ( the argument can be a directory but usually is like /usr/local/* )
#!/usr/bin/perl
use strict;
use warnings;
my $sizes = `du -x -sk @ARGV | sort -n`;
my $total = 0;
print "MegaBytes Name\n";
for(split... (1 Reply)
Discussion started by: insania
1 Replies
8. Shell Programming and Scripting
Hi all ,
In order to zip the file ...
first we need to use TAR and then GZIP on the TAR file .....
Is there any other method for zipping the files directly as in windows ( winzip )
Regards,
Dhananjay (3 Replies)
Discussion started by: dhananjayk
3 Replies