Solved

find a row base on record id

Posted on 2013-11-14
1
156 Views
Last Modified: 2013-12-09
Hello,
Trying to find a record base on the first 5 positions, such as T70ST.  Once this is determined then pull a field base on position, suchs 30th through 40th.

Using `head -1 $file | cut -c46-75`  to pull informtion from the first row.

I am thinking something like,
`XXXXX =T20ST  $file | cut -c30-40`  ,

Thanks,
BJE
0
Comment
Question by:bje
1 Comment
 
LVL 84

Accepted Solution

by:
ozo earned 500 total points
ID: 39649388
grep '^T70ST'  $file | cut -c30-40
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
React or Angular? 6 81
BATCH to EXE Converter 2 40
troubleshoot a python script 8 26
[Internet] Batch mode for shortening long URLs 3 13
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question