You are not logged in.

#1 2017-10-14 21:30:28

Huigosha
Member
Registered: 2017-10-14
Posts: 1

The -e switch does not suppress the -n switch

I make a copy of the cat utility to linux on java. I read the documentation: "-e     suppresses -n, synonym -vE".
i run cat x -e:
===
test$
testing$
^F^G^H^S^A$
end$
===
i run :
===
     1  test$
     2  testing$
     3  ^F^G^H^S^A$
     4  end$
===
Why was not the key depressed and worked? Do I have to suppress the key n when entering the e key, or will people not forgive me?

Offline

#2 2017-10-14 21:47:15

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 258
Website

Re: The -e switch does not suppress the -n switch

The -e switch does not suppress the -n switch, at least not according to man cat.

Online

#3 2017-10-14 22:12:06

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 652

Re: The -e switch does not suppress the -n switch

To the forums mods, if there is a competition around here for poorly chosen topic titles then please enter this one. wink

Offline

#4 2017-10-14 22:13:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: The -e switch does not suppress the -n switch

Agreed. OP please edit your first post and choose a more descriptive title: https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB