The cut command takes a vertical slice of a file, printing only the specified columns or fields
delimiter tab : ctrl+v TAB,: etc
syntax : cut [option] file
option:
-c character
-f field
-d delimiter
Example:
cut -c1-6 company.data #to print just char 1 to 6 of each line
cut -c4,8 company.data # to print just char 4 and 8 of each line
cut -d: -f3 company.data #to print the columns 3 by using the delimiter of the line(:)
cut –d: -f3- company.data #to print the columns 3 to END
A Language is not worth knowing unless it teaches you to think differently.
Subscribe to:
Post Comments (Atom)
Price List Query for Item
SELECT qph.list_header_id, qph.name, qph.description, qphh.start_date_active, qphh.currency_code, q...
-
1. To download Ldt file for a Concurent Program FNDLOAD [username]/[password] O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_nam...
-
Here the article will describe about how to register WebADI to Responsibility menu Go to System Administrator --> Security --> Respo...
-
using the below query can check the invoice status. SELECT DECODE(AP_INVOICES_UTILITY_PKG.GET_APPROVAL_STATUS(AIA.INVOICE_...
No comments:
Post a Comment