26,621 reputation
42268
bio website
location Marseille, France
age 33
visits member for 1 year, 8 months
seen 6 hours ago

Bioinformatician and long-time Linux geek.


2d
revised Rescue value from second last line
We're SE too.
2d
comment Rescue value from second last line
I don't think this will work, the OP has specified that all patterns occur multiple times in the file. If you try this on the example file, it will print multiple lines.
2d
answered Rescue value from second last line
2d
revised CHROOT : Unable to view mounted directories
Fixed some formatting issues and this is still stack exchange, the other site is stack overflow
2d
comment Is it possible to generate a separate file list when creating a tarball?
I don't understand what the problem is. On my GNU tar 1.26, the only output of tar -cvf foo.tar * is the list of files. What is the "all output" that you want to avoid?
2d
comment Issue in compressed txt file - not in proper format after email is sent
Welcome to Unix & Linux Stack Exchange! Please edit your question to add extra info, it is hard to read and easy to miss in the comments.
2d
revised Is it possible to remove folder prefix from a `ls` command
deleted 40 characters in body
2d
revised Is it possible to remove folder prefix from a `ls` command
Find expects a directory to search through, you can't give it lib/*.jar
2d
answered Is it possible to remove folder prefix from a `ls` command
Apr
15
comment Extracting data from complex file structure
@DigitalRobot because the join was getting confused. The original print join ",",@f[0..8] , "\n" was interpreted as "print (@f[0..8] and \n) joined by ",". By adding the parenthesis I separated the join() call from the print, and clarified that I meant "print join(",",@f[0,2..7]) and then print a \n".
Apr
15
revised Extracting data from complex file structure
added 10 characters in body
Apr
15
comment Extracting data from complex file structure
@Gnouc thanks for the edit, that's what I'd used initially and forgot to edit the OP's suggestion.
Apr
15
comment Difference between the Unity shell interface and a desktop environment
What makes you think they're different? A link to what you read might help clarify. Both Gnome and Unity are Desktop Environments and both also have their own shell. Are you talking about differences in architecture or design, or differences in the job they do?
Apr
15
revised Customize bash to always include a certain parameter
edited tags
Apr
14
comment Extracting data from complex file structure
@DigitalRobot ouch. Thanks for the edit, I had indeed misread the question. I also had a silly mistake which was adding the commas. Try the updated version.
Apr
14
revised Extracting data from complex file structure
deleted 53 characters in body
Apr
14
reviewed Approve suggested edit on Extracting data from complex file structure
Apr
14
answered Extracting data from complex file structure
Apr
14
comment How to create multiple tar files with bash script and use date as file names?
@Ron If this answer solved your problem, please remember to mark it as accepted and/or upvote it instead of posting a thank you comment. That is the way thanks are expressed on SE sites.
Apr
14
answered How does clear command work?