Search Results

Search: Posts Made By: SwagatikaP1
3,364
Posted By SwagatikaP1
input file: H|123|45555|4555|FILE1.DAT WHITE...
input file:
H|123|45555|4555|FILE1.DAT WHITE SPACE |33|444
D|123|45555|4555|45T55|33|444
D|FF|676|YTYYU|878
T|GFG|GFGF|7879|
H|123|45555|4555|FILE2.DAT WHITE SPACE |33|444...
3,364
Posted By SwagatikaP1
Execution of loop :Splitting a single file into multiple .dat file
hdr=$(cut -c1 $path$file|head -1)#extract header”H”
trl=$(cut -c|path$file|tail -1)#extract trailer “T”
SplitFile=$(cut -c 50-250 $path 1$newfile |sed'$/ *$//' head -1')# to trim white space and...
Showing results 1 to 2 of 2

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