Search Results

Search: Posts Made By: a_smith
1,884
Posted By a_smith
contents of file: 1 scott mexico 2 john...
contents of file:
1
scott
mexico
2
john
new delhi

im trying to match numbers of above file with input using 'read'
1,884
Posted By a_smith
Matching string from input to string of file
Hi,
i want to know how to compare string of file with input string

im trying following code:
file_no=`paste -s -d "||||\n" a.txt | cut -c 1`
#it will return collection number from file
...
Showing results 1 to 2 of 2

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