Search Results

Search: Posts Made By: frhling
1,857
Posted By Corona688
The concept of "line" in a file made of random...
The concept of "line" in a file made of random garbage data has no meaning.

One way to change byte 13 of testfile1 to "A":

echo "A" | dd bs=1 conv=notrunc seek=13 count=1 of=testfile1
6,117
Posted By pamu
Here we are spiting that string into multiple...
Here we are spiting that string into multiple fields.
n= Total number of fields.
P= This is an array which stores those fields from index as 1 to n.

$ echo "first-second-third" | awk...
6,117
Posted By pamu
OR.. awk '{n=split($11,P,"/");print $2 " "...
OR..

awk '{n=split($11,P,"/");print $2 " " $5 ";" $7 ";" $9 ";" P[n]}'
Showing results 1 to 3 of 3

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