Search Results

Search: Posts Made By: bhanja_trinanja
6,588
Posted By bhanja_trinanja
Search current folder and subfolders with grep
Hello,

Neither ‘Grep -r' nor ‘grep -R' is working in my environment. (Searching for a text pattern in the files)

Any suggestions... Using SunOS 5.9

Thanks,
Trinanjan.
2,091
Posted By bhanja_trinanja
Need a visual grep tool that works on windows via sftp
Hi,

Could you please suggest a tool that connects like WINSCP/Putty and allows me to search a remote Unix directory for a certain text pattern (grep) ?

Regards,
Bhanja.
16,152
Posted By bhanja_trinanja
But what if I don't want to hardcode the input...
But what if I don't want to hardcode the input filename? I want to pass the input filename dynamically while running the script. :)
16,152
Posted By bhanja_trinanja
Unfortunately, this one is not working. ...
Unfortunately, this one is not working.

Just keeps running without returning the prompt.

The previous awk worked like a charm.

How do I fix this one?
16,152
Posted By bhanja_trinanja
Cool! :b: awk worked. :cool: Couple...
Cool! :b:

awk worked. :cool:

Couple of questions more.

What do I do if I do not want to hardcode the input_file_name in my shell script and pass it as a parameter from the prompt instead...
16,152
Posted By bhanja_trinanja
Sample file attached
Ok... here is a sample.

The first field is Date in YYYYMMDD.

As you can see, there are 3 dates viz. 20100313, 20100306 and 20100227.

The length of the Date field is 8 bytes.

I want my...
16,152
Posted By bhanja_trinanja
How to split a fixed width text file into several ones based on a column value?
Hi,

I have a fixed width text file without any header row. One of the columns contains a date in YYYYMMDD format.

If the original file contains 3 dates, I want my shell script to split the...
Showing results 1 to 7 of 7

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