Search Results

Search: Posts Made By: krashraj
1,740
Posted By krashraj
The input is the following file name lines type...
The input is the following file
name lines type

sam 1 txt
sam 2 xls
sam 3 pdf
ram 3 txt
ram 4 sxls
ram 5 word
tom 9 jpeg
tom 5 gif
tom 2 ltf
...
12,246
Posted By krashraj
The details of input file student1 male...
The details of input file

student1 male 1year ECE
student2 female 1year EEE
STUDENT3 MALE 2YEAR CSE


nostud will contain the no of records in inpur file.
I need to select each student .For...
1,740
Posted By krashraj
Using AWK and regex
Hi can you suggest in this regard


The sample.txt conatins the data

name lines type
sam 12 txt
sam 24 xls
sam 36 pdf
ram 32 txt
ram 45 sxls
ram 58 ...
12,246
Posted By krashraj
itkamaraj, i have used your code ,but i am...
itkamaraj,

i have used your code ,but i am not able to get the desired output.

My requirement is that i need to go through multiple records in a text file and print specific column.
...
12,246
Posted By krashraj
Using NR in AWK
Hi ,i need to loop through records and print only specific column.
How do i that using NR

I have tried the following code
If i give NR==1 or NR==2,i am able to print the specific column,but if...
1,899
Posted By krashraj
Thanks for the kindly reply for a straight...
Thanks for the kindly reply for a straight forward solution which i could not get .
1,899
Posted By krashraj
How to avoid new line
Hi,

I am having multiple echo statements to print output
echo "$VAr"
echo "$lenght"
echo "$sum"

I get the output as
12
24
36

I need the output to be 12 24 36.

How do i arrive...
1,509
Posted By krashraj
Hi thanks for the reply. I need to take the...
Hi thanks for the reply.
I need to take the header from the header text file and place it in the output file.
Then the data for the header columns will be populated form the input data file.
This...
1,509
Posted By krashraj
I will be having header.txt file For example ...
I will be having header.txt file
For example

Unix :: Char|Process|count|Pid I
Perl :: String|Operator|Date


Another input text file

A|batch |56|456
pat |*|161085


if Unix is...
1,509
Posted By krashraj
File manipulation
Hi,
My requirement is that ,i need to generate data file consisting of very high number of transactions.
I need to take the header for the file containing pipe delimited columns from a different...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 02:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy