Python Forum
code wanted: file splicing
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
code wanted: file splicing
#8
(Mar-26-2018, 10:48 AM)DeaD_EyE Wrote:
cat file1 file2 file3 file4 > final_file

and while cutting specified columns in each?

(Mar-26-2018, 08:23 AM)wavic Wrote: Hm! This will require some bash scripting and I am not aware of it. I think Pandas python module can do this.
I can try later to do some bash magic. It's embarrassing that I am using Linux for years and still don't know the bash scripting syntax.
i'd rather do new things in Python.

when did you start using Linux? i started in 1993. but i was using muliple Unix before then, and some even since then, so i had a head start.

(Mar-26-2018, 03:23 PM)nilamo Wrote: What's a "column"?

Are these csv files? Or is each character a different column? If it's each character, what about multi-byte characters?

Without example input/output, the likelihood of finding preexisting code is minimal.

some might be CSV files. i'm working on a design for a new command.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
code wanted: file splicing - by Skaperen - Mar-24-2018, 05:17 AM
RE: code wanted: file splicing - by wavic - Mar-24-2018, 07:38 AM
RE: code wanted: file splicing - by Skaperen - Mar-26-2018, 03:30 AM
RE: code wanted: file splicing - by wavic - Mar-26-2018, 08:23 AM
RE: code wanted: file splicing - by DeaD_EyE - Mar-26-2018, 10:48 AM
RE: code wanted: file splicing - by Skaperen - Mar-26-2018, 11:29 PM
RE: code wanted: file splicing - by wavic - Mar-26-2018, 11:59 AM
RE: code wanted: file splicing - by nilamo - Mar-26-2018, 03:23 PM
RE: code wanted: file splicing - by wavic - Mar-27-2018, 09:32 AM
RE: code wanted: file splicing - by DeaD_EyE - Mar-27-2018, 12:12 PM
RE: code wanted: file splicing - by Skaperen - Mar-28-2018, 12:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  wanted: regex or code to find valide def statements in a line Skaperen 13 5,676 Mar-20-2020, 11:54 PM
Last Post: Skaperen
  python code wanted: grep IP address Skaperen 7 6,221 Jul-09-2018, 05:25 AM
Last Post: Skaperen
  code wanted, but don't expect me to do it Skaperen 0 2,115 Jul-07-2018, 10:50 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020