Hi R. Singh. thanks for your advice.
It worked perfectly now
---------- Post updated at 06:25 AM ---------- Previous update was at 06:24 AM ----------
Thanks RudiC.
It seems worked fine now.
I just manual check the output.
It looks fantastic
Many thanks for your assist.
---------- Post updated 01-19-16 at 03:35 AM ---------- Previous update was 01-18-16 at 06:25 AM ----------
Hi RudiC,
I just aware that your awk command might have below issue:
If I run your awk command, it will shown as:
It should just shown once instead of three times I believe.
Do you have any idea regarding this "bug"?
Hi all,
If Windows server have an active directory and active folder/mapping(maybe in unix NFS).
Is there any similiar fuctions in unix. Actually if we have a hundred client in unix/linux with unix server, I want to manage user client and access control easier as in windows.
Thank you in... (5 Replies)
I have 2 files. The first file contains user names in one column. The second, and considerably longer, file contains user names in the first column and corresponding full names in the second column. Currently these are in the .xls format. I'd like to be able to compare file1 with file2 and extract... (2 Replies)
hi friends!
i have a script where a execute a veritas command, available_media wich retrieves me a list of tapes .lst
then i execute
cat /tmp/listtapes.lst | grep -v VL |sed '/^$/d'|awk -F, '{print $1, $3, $4, $9}
' > /tmp/media1.lst
but it prints all the columns instead of the four... (3 Replies)
Hello All,
I have a file of 1000 columns. I need to print only the first 100 columns in to a new file. I have tried with the following code
awk -F '{ for(i=0; i<=100; i++) {printf $i}' inputfile > outputfile But this is not working, I need the output file also of the same format of the... (4 Replies)
I have awk command to print column 8
awk '/select/ {print $8}'
which will print column 8
But I need to print 3, 5 and 8 column in a row and each column should be de-limited by "\t"
Hope anyone help me quickly. (2 Replies)
Hi All
I've a file which is similar to the one given below
column1 coulmn2 column3 column4
A B C D
X Y
F G H
I would like to get it in this format
A|B|C|D
||X|Y
F||G|H
Is... (4 Replies)
Hi ,
i am looking for a perl script to grep for a string in all files inside a directory .
bash command .
grep -r 'word' /path/to/dir
Thanks,
Nvil (3 Replies)
Hi Guy's I am trying to find a way of importing the raw hex data from a router dump into a wireshark trace for example. I have had a look at the text2pcap pages and cant seem to work it out.
Does anyone have any expierence in this ? If it requires format changes whats the best way of doing... (3 Replies)
Hi,
I'm trying to copy and paste the sixth column from a bunch of files into a single file having each column pasted in separate columns (and not one after each other in just one column.)
I tried this code but works only partially because it copied and pasted 50 rows of each column... (6 Replies)