Search Results

Search: Posts Made By: deshiashish
7,112
Posted By deshiashish
Thanks. ---------- Post updated at 03:06 PM...
Thanks.

---------- Post updated at 03:06 PM ---------- Previous update was at 02:17 PM ----------
7,112
Posted By deshiashish
Find pattern in file and print
Hello,
I want to read a CSV file and look for a pattern on each line. If the pattern is found I want to read another portion/column of that line and print that. Can somebody help me in writing it in...
3,164
Posted By deshiashish
Thanks itkamraj.
Thanks itkamraj.
3,164
Posted By deshiashish
Thanks you itkamaraj. ---------- Post...
Thanks you itkamaraj.

---------- Post updated at 01:03 PM ---------- Previous update was at 01:02 PM ----------

$ sed -r 's/task *\(([^,]+), *(.*)\)/&\nint \1;\ninteger \2;/' file
some dummy...
3,164
Posted By deshiashish
Thanks guruprasad, you were spot on. One more...
Thanks guruprasad, you were spot on.
One more favour please, can you please tell me how that works?
3,164
Posted By deshiashish
How to search pattern and add that pattern in next line
Hi All,
I am new to shell scripting and need help in scripting using CSH.
Here is what I am trying to so,
1. Search a specific string e.g. "task" from "task (input1, out1)".
2. Extract the...
Showing results 1 to 6 of 6

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