Search Results

Search: Posts Made By: chiragmistry21
29,690
Posted By chiragmistry21
Get lines from file
hi,

I have a question.

I want to read a file from say line 3 to line 6. How to do that?

tail +3 file

will give me contents of a file from line 3 to EOF, however i want from line 3 to...
1,652
Posted By chiragmistry21
Thanks much..
Thanks much..
1,652
Posted By chiragmistry21
Yes, it is not working..even if I put that before...
Yes, it is not working..even if I put that before the "if"

it seems var1 is not holding up the value.. when i try to print var1 in awk it prints but not after the awk

is there any alternative...
1,652
Posted By chiragmistry21
I m bugged : AWK command
Hi,

i have used awk command to find a particular field from the file using filter.

The problem is that i am getting the field in a variable, however i m not able to use that variable in other...
2,066
Posted By chiragmistry21
Thanks buddy!
Thanks buddy!
2,066
Posted By chiragmistry21
Hey...one more thing How to read files from...
Hey...one more thing

How to read files from a particular line to end of file?

This particular line will be decided by the particular string.

Suppose, my string is "what the heck??" which is...
2,066
Posted By chiragmistry21
Thanks much.....
Thanks much.....
2,066
Posted By chiragmistry21
File funda
hi,

I want to read a file from some particular line(lets say line 3 from the begining) to end of file. How to do this?

Thanks in advance!
Chirag
7,334
Posted By chiragmistry21
Thanks buddy..... I really appreciate ur...
Thanks buddy.....

I really appreciate ur help!!

Chirag.
7,334
Posted By chiragmistry21
File operations
Hi there,

I want some help on scripting regarding file processing.

I have a scenario in which I have 10 files. (file1.txt, file2.txt....) and they are in paricular format.

I want to read...
Showing results 1 to 10 of 10

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