0
Anyone able to help me with a unix question?
I just need top display two different calendars with different and dates side by side.
11 ответов
+ 2
i don’t know what you are doing but
cal -3| awk '{print substr($0,23)}' works for me
+ 2
this:
paste <(cal 3 2015 | awk '{printf "%-20s\n",$0}') <(cal 4 2015)
also worked for me, i typed paste <(cal 3 2015 | awk '{printf "%-20s\n",$0}')<(cal 4 2015) the first time(missing a space) maybe you made the same mistake
+ 1
i tried that and it would not work
+ 1
give me a moment, i have a linux box here, im trying a few things
0
which desktop eviroment are you using?
0
I'm using windows. I'm on the school's server inside of putty. The assignment is to create a project in bash using the vi editor and answer questions. one is to display two calendars side by side. I know how to display a calendar I just can't get them to print side by side. I tried using paste but I'm doing something wrong. i keep getting syntax errors.
0
I'm using windows. I'm on the school's server inside of putty. The assignment is to create a project in bash using the vi editor and answer questions. one is to display two calendars side by side. I know how to display a calendar I just can't get them to print side by side. I tried using paste but I'm doing something wrong. i keep getting syntax errors.
0
IT WORKED!!! thanks
0
wait, How do I print different calendars. like december 2000 and November 2009
0
thank you so much! I don't know what I was doing wrong? It works now.