Search Results

Search: Posts Made By: eboye
14,037
Posted By eboye
Interesting, ok thank you guys. :D
Interesting, ok thank you guys. :D
14,037
Posted By eboye
Hmm i tried with the bash test.sh and works as...
Hmm i tried with the bash test.sh and works as expected. So i assume it's not possible to make the paste code work using the sh command of the bash ?

thx
14,037
Posted By eboye
This what my bash looks like #!/bin/bash ...
This what my bash looks like


#!/bin/bash
echo $(paste <( code1 ) <(code2))

and i use this to execute it

sh test.sh

thx
14,037
Posted By eboye
Use of the PASTE command in a script file
Hi,

When I use the paste command in the terminal window it works fine, but when i try to use it in a bash script file i get errors. I'm not sure how to use the paste command in a bash script...
4,553
Posted By eboye
thanks for noticing the order, I managed to fix...
thanks for noticing the order, I managed to fix it by using the following code after using the code provided in the previous posts.

awk '{ t=$2 ; $2=$3; $3=t; print }'
4,553
Posted By eboye
Thank you very much for the detailed explanation,...
Thank you very much for the detailed explanation, I got more than I asked for.
Everything is working as expected :D
4,553
Posted By eboye
thx for the quick reply. awk...
thx for the quick reply.

awk 'BEGIN{c=0;FS="\t"}{c++}c<3{ORS=FS}c==3{ORS=RS;c=0}1' file
This line of code is doing what I asked for. But I have one question, There is only a one space difference...
4,553
Posted By eboye
Normal text list to table format
Hi,

I am trying to show my list, from a simple list format to a table (row and column formatted table)

Currently i have this format in my output (the formart it will always be like this ) >>...
Showing results 1 to 8 of 8

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