Issue
I am figuring out the Ipython shell support. Its seems awk doesn't work i.e following command
!ls -l | awk '{print $1}'
just prints "1".
How do I pass the "$" sign correctly to shell. I am using zsh.
Solution
Two dollar signs give you a literal dollar sign, so try:
!ls -l | awk '{print $$1}'
Answered By - schot
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.