New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output samples #166

Open
rgaiacs opened this Issue May 28, 2015 · 4 comments

Comments

Projects
None yet
4 participants
@rgaiacs
Collaborator

rgaiacs commented May 28, 2015

At 01-filedir.md we have

$ ls -F
creatures/  molecules/           pizza.cfg
data/       north-pacific-gyre/  solar.pdf
Desktop/    notes.txt            writing/

where the output is alphabetic sorted by columns and

$ ls -F data
amino-acids.txt   elements/     morse.txt
pdb/              planets.txt   sunspot.txt

where the output is alphabetic sorted by lines.

This is bugging me.

I previous suggested to implicit use flag -1, see #131. I'm OK to not use it but could we agree in how to sort ls output and the numbers of maximum of columns?

@wking I was trying to use shopt to unset checkwinsize and fix the number of columns but didn't work. Any advice?

@ChristinaLK

This comment has been minimized.

Contributor

ChristinaLK commented Jun 14, 2015

I think we should just make our lesson output the same as what you would see on a bash window (which is alphabetically by columns, yes?).

@ChristinaLK ChristinaLK modified the milestone: Version 5.4 Jun 14, 2015

@rgaiacs

This comment has been minimized.

Collaborator

rgaiacs commented Jun 14, 2015

I think we should just make our lesson output the same as what you would see on a bash window (which is alphabetically by columns, yes?).

@ChristinaLK I'm OK with your decision here as long as the output samples are compatible and we mention it in our documentation. =)

@gdevenyi

This comment has been minimized.

Contributor

gdevenyi commented Jun 24, 2015

I think the issues we may be running into here and that different users will be on differ operating systems, with different default "ls" invocations hidden within their default .bashrc.

No matter what we decide on, it will not always be consistent with the learners, unfortunately.

@shwina

This comment has been minimized.

Member

shwina commented Aug 7, 2016

Unfortunately, we can't be sure of what learners will see when they type in "ls". How about adding a note that:

"Depending on your operating system and configuration, the output of ls may be sorted alphabetically, by size, or some other parameter". (?)

rgaiacs pushed a commit to rgaiacs/swc-shell-novice that referenced this issue May 6, 2017

hoytpr pushed a commit to hoytpr/shell-novice that referenced this issue May 11, 2017

Merge pull request swcarpentry#166 from amyrbrown/patch-1
Removed reference to "Make Anaconda the default python"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment