Search Results

Search: Posts Made By: sushine11
7,742
Posted By sushine11
How to read nth word from delimited text file?
Hi i am new in scripting
how i can get 2 elements from first line of delimited txt file in shell scripts.


AA~101010~0~AB~8000~ABC0~
BB~101011~0~BC~8000~ABC~
CC~101012~0~CD~8000~ABC0~...
9,070
Posted By sushine11
Thanks alot for your quick reply. :):) ...
Thanks alot for your quick reply. :):)

@balajesuri
--this command is working fine if file have upto 3 expected output records

@Scrutinizer
really its amezing!!!!

Thanks,
sunil
9,070
Posted By sushine11
Remove newline character between two delimiters
hi i am having delimited .dat file having content like below.

test.dat(5 line of records)
======
PT2~Stag~Pt2 Stag Test.
Updated~PT2 S T~Area~~UNCEF R20~~2012-05-24 ~2014-05-24~~
PT2~Stag...
Showing results 1 to 3 of 3

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