忽略iTerm2中的\ r和\ b

时间:2018-01-23 23:50:47

标签: printf iterm2

DECLARE l_acl VARCHAR2 (30) := 'utl_smtp.xml'; l_principal VARCHAR2 (30) := 'SCHEMA1'; l_principal2 VARCHAR2 (30) := 'SCHEMA2'; g_mailhost VARCHAR2 (60) := 'mail.mydomain.com'; BEGIN DBMS_NETWORK_ACL_ADMIN.drop_acl (l_acl); DBMS_NETWORK_ACL_ADMIN.create_acl ( acl => l_acl , description => 'Allow use of utl_smtp' , principal => l_principal , is_grant => TRUE , privilege => 'connect' ); DBMS_NETWORK_ACL_ADMIN.assign_acl (acl => l_acl, HOST => g_mailhost); COMMIT; DBMS_NETWORK_ACL_ADMIN.add_privilege ( acl => l_acl , principal => l_principal2 , is_grant => TRUE , privilege => 'connect' ); COMMIT; END; \r在减少进度更新量方面提供了很多帮助,但如何在iTerm2中禁用这些字符以显示所有行?

例如:如果程序打印

\b

我会收到

printf("\ra");
printf("\rb");

而不仅仅是

a
b

0 个答案:

没有答案