Search Results

Search: Posts Made By: vipinHasija
2,624
Posted By vipinHasija
Hi Anbu what if output data is needed in form...
Hi Anbu
what if output data is needed in form mentioned below
Current
> Vehicle: BMW Class
Vehicle: Toyota Class

Required:

BMW
Toyota
2,624
Posted By vipinHasija
FilePath=("test_result.txt") for Path in...
FilePath=("test_result.txt")
for Path in "${FilePath[@]}"
do
for((j = i; j <= 5; j++));
do
Line=$(grep -n 'Tyre : Four' test_result.txt | cut -d : -f1)
awk '{if (NR=='$Line'-2) print}'...
2,624
Posted By vipinHasija
Nested Loops for text file
Hi

A text file containing data something likeVehicle: BMW Class
checkin_note:
Tyre : Four
path_id : 11
vault_file_size: -1

Vehicle: Toyota Class
checkin_note:
Tyre : Four
path_id...
Showing results 1 to 3 of 3

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