Search Results

Search: Posts Made By: relaxo
5,621
Posted By relaxo
Is it also possible to give cut the vertical...
Is it also possible to give cut the vertical lines to delete.
For Example:

cat input.txt | cut 4 > output.txt


to delete the 4th column?
5,621
Posted By relaxo
Thank you! It works but for handling it would...
Thank you!
It works but for handling it would be nice if there is a way to input the vertical line numbers via command line.
Otherwise i have to write (i != 1 && i !=2 && i !=3 && i !=17 ..........
5,621
Posted By relaxo
The complete file has 150.000 vertical lines and...
The complete file has 150.000 vertical lines and 200 horizontal lines.
Input:
FSLMFFLVMMNLIGLV-PFVY
ICVLMLVMTLNLSGMV-PGVF
ALLFNSVVFANCFGMI-PYVF
AALFASLLVLNLLGLV-PYVF
SSLFMMIIIFNLLGLI-PYMF...
5,621
Posted By relaxo
Sorry maybe i should explain it better... The...
Sorry maybe i should explain it better...
The text file looks like this:

masldfjla
afsajfwel
sajfljsaf
safsarfrl
sajfeljwq

There are no numbers in the real file.
The next problem is that...
5,621
Posted By relaxo
Delete vertical lines in an text file
Hi everybody!

I need to delete several vertical lines in a huge text file.
It should work like the example below. Delete the vertical lines 2 and 8.

123456789
masldfjla
afsajfwel...
Showing results 1 to 5 of 5

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