zsh-workers
 help / color / mirror / code / Atom feed
* Export problem
@ 2001-06-04 18:30 a normal guy
  2001-06-04 18:42 ` Geoff Wing
  0 siblings, 1 reply; 16+ messages in thread
From: a normal guy @ 2001-06-04 18:30 UTC (permalink / raw)
  To: zsh-workers

Hello:

I think this is a bug.  Under HP-UX, the following line reports
an error:

% export RUN_DATE=`date +%Y%m%e%H%M.%S`
zsh: not an identifier: 41211.52
% 

I have reproduced this using zsh -f.

I am not part of the zsh-workers mailing list and would
appreciate being CC'ed on the discussion.

Here is the output from reporter.

-------------------
# START zsh saveset
# uname:  HP-UX hpesande B.10.20 A 9000/785 2006411904 two-user
license

# Aliases.

alias run-help=man
alias which-command=whence

# Key bindings.

bindkey -N emacs
bindkey -N main
bindkey -N vicmd
bindkey -N viins

bindkey -M emacs "^@" set-mark-command
bindkey -M emacs "^A" beginning-of-line
bindkey -M emacs "^B" backward-char
bindkey -M emacs "^D" delete-char-or-list
bindkey -M emacs "^E" end-of-line
bindkey -M emacs "^F" forward-char
bindkey -M emacs "^G" send-break
bindkey -M emacs "^H" backward-delete-char
bindkey -M emacs "^I" expand-or-complete
bindkey -M emacs "^J" accept-line
bindkey -M emacs "^K" kill-line
bindkey -M emacs "^L" clear-screen
bindkey -M emacs "^M" accept-line
bindkey -M emacs "^N" down-line-or-history
bindkey -M emacs "^O" accept-line-and-down-history
bindkey -M emacs "^P" up-line-or-history
bindkey -M emacs "^Q" push-line
bindkey -M emacs "^R" history-incremental-search-backward
bindkey -M emacs "^S" history-incremental-search-forward
bindkey -M emacs "^T" transpose-chars
bindkey -M emacs "^U" kill-whole-line
bindkey -M emacs "^V" quoted-insert
bindkey -M emacs "^W" backward-kill-word
bindkey -M emacs "^X^B" vi-match-bracket
bindkey -M emacs "^X^F" vi-find-next-char
bindkey -M emacs "^X^J" vi-join
bindkey -M emacs "^X^K" kill-buffer
bindkey -M emacs "^X^N" infer-next-history
bindkey -M emacs "^X^O" overwrite-mode
bindkey -M emacs "^X^U" undo
bindkey -M emacs "^X^V" vi-cmd-mode
bindkey -M emacs "^X^X" exchange-point-and-mark
bindkey -M emacs "^X*" expand-word
bindkey -M emacs "^X=" what-cursor-position
bindkey -M emacs "^XG" list-expand
bindkey -M emacs "^Xg" list-expand
bindkey -M emacs "^Xr" history-incremental-search-backward
bindkey -M emacs "^Xs" history-incremental-search-forward
bindkey -M emacs "^Xu" undo
bindkey -M emacs "^Y" yank
bindkey -M emacs "^[^D" list-choices
bindkey -M emacs "^[^G" send-break
bindkey -M emacs "^[^H" backward-kill-word
bindkey -M emacs "^[^I" self-insert-unmeta
bindkey -M emacs "^[^J" self-insert-unmeta
bindkey -M emacs "^[^L" clear-screen
bindkey -M emacs "^[^M" self-insert-unmeta
bindkey -M emacs "^[^_" copy-prev-word
bindkey -M emacs "^[ " expand-history
bindkey -M emacs "^[!" expand-history
bindkey -M emacs "^[\"" quote-region
bindkey -M emacs "^[\$" spell-word
bindkey -M emacs "^['" quote-line
bindkey -M emacs "^[-" neg-argument
bindkey -M emacs "^[." insert-last-word
bindkey -M emacs "^[0" digit-argument
bindkey -M emacs "^[1" digit-argument
bindkey -M emacs "^[2" digit-argument
bindkey -M emacs "^[3" digit-argument
bindkey -M emacs "^[4" digit-argument
bindkey -M emacs "^[5" digit-argument
bindkey -M emacs "^[6" digit-argument
bindkey -M emacs "^[7" digit-argument
bindkey -M emacs "^[8" digit-argument
bindkey -M emacs "^[9" digit-argument
bindkey -M emacs "^[<" beginning-of-buffer-or-history
bindkey -M emacs "^[>" end-of-buffer-or-history
bindkey -M emacs "^[?" which-command
bindkey -M emacs "^[A" accept-and-hold
bindkey -M emacs "^[B" backward-word
bindkey -M emacs "^[C" capitalize-word
bindkey -M emacs "^[D" kill-word
bindkey -M emacs "^[F" forward-word
bindkey -M emacs "^[G" get-line
bindkey -M emacs "^[H" run-help
bindkey -M emacs "^[L" down-case-word
bindkey -M emacs "^[N" history-search-forward
bindkey -M emacs "^[OA" up-line-or-history
bindkey -M emacs "^[OB" down-line-or-history
bindkey -M emacs "^[OC" forward-char
bindkey -M emacs "^[OD" backward-char
bindkey -M emacs "^[P" history-search-backward
bindkey -M emacs "^[Q" push-line
bindkey -M emacs "^[S" spell-word
bindkey -M emacs "^[T" transpose-words
bindkey -M emacs "^[U" up-case-word
bindkey -M emacs "^[W" copy-region-as-kill
bindkey -M emacs "^[[A" up-line-or-history
bindkey -M emacs "^[[B" down-line-or-history
bindkey -M emacs "^[[C" forward-char
bindkey -M emacs "^[[D" backward-char
bindkey -M emacs "^[_" insert-last-word
bindkey -M emacs "^[a" accept-and-hold
bindkey -M emacs "^[b" backward-word
bindkey -M emacs "^[c" capitalize-word
bindkey -M emacs "^[d" kill-word
bindkey -M emacs "^[f" forward-word
bindkey -M emacs "^[g" get-line
bindkey -M emacs "^[h" run-help
bindkey -M emacs "^[l" down-case-word
bindkey -M emacs "^[n" history-search-forward
bindkey -M emacs "^[p" history-search-backward
bindkey -M emacs "^[q" push-line
bindkey -M emacs "^[s" spell-word
bindkey -M emacs "^[t" transpose-words
bindkey -M emacs "^[u" up-case-word
bindkey -M emacs "^[w" copy-region-as-kill
bindkey -M emacs "^[x" execute-named-cmd
bindkey -M emacs "^[y" yank-pop
bindkey -M emacs "^[z" execute-last-named-cmd
bindkey -M emacs "^[|" vi-goto-column
bindkey -M emacs "^[^?" backward-kill-word
bindkey -M emacs "^_" undo
bindkey -R -M emacs " "-"~" self-insert
bindkey -M emacs "^?" backward-delete-char
bindkey -R -M emacs "\M-^@"-"\M-^?" self-insert

bindkey -R "^A"-"^C" self-insert
bindkey "^D" list-choices
bindkey -R "^E"-"^F" self-insert
bindkey "^G" list-expand
bindkey "^H" vi-backward-delete-char
bindkey "^I" expand-or-complete
bindkey "^J" accept-line
bindkey "^K" self-insert
bindkey "^L" clear-screen
bindkey "^M" accept-line
bindkey -R "^N"-"^P" self-insert
bindkey "^Q" vi-quoted-insert
bindkey "^R" redisplay
bindkey -R "^S"-"^T" self-insert
bindkey "^U" vi-kill-line
bindkey "^V" vi-quoted-insert
bindkey "^W" vi-backward-kill-word
bindkey -R "^X"-"^Z" self-insert
bindkey "^[" vi-cmd-mode
bindkey -R "^\\\\"-"~" self-insert
bindkey "^?" vi-backward-delete-char
bindkey -R "\M-^@"-"\M-^?" self-insert

bindkey -a "^D" list-choices
bindkey -a "^G" list-expand
bindkey -a "^H" vi-backward-char
bindkey -a "^J" accept-line
bindkey -a "^L" clear-screen
bindkey -a "^M" accept-line
bindkey -a "^N" down-history
bindkey -a "^P" up-history
bindkey -a "^R" redisplay
bindkey -a "^[OA" up-line-or-history
bindkey -a "^[OB" down-line-or-history
bindkey -a "^[OC" vi-forward-char
bindkey -a "^[OD" vi-backward-char
bindkey -a "^[[A" up-line-or-history
bindkey -a "^[[B" down-line-or-history
bindkey -a "^[[C" vi-forward-char
bindkey -a "^[[D" vi-backward-char
bindkey -a " " vi-forward-char
bindkey -a "\"" vi-set-buffer
bindkey -a "#" pound-insert
bindkey -a "\$" vi-end-of-line
bindkey -a "%" vi-match-bracket
bindkey -a "'" vi-goto-mark-line
bindkey -a "+" vi-down-line-or-history
bindkey -a "," vi-rev-repeat-find
bindkey -a -- "-" vi-up-line-or-history
bindkey -a "." vi-repeat-change
bindkey -a "/" vi-history-search-backward
bindkey -a "0" vi-digit-or-beginning-of-line
bindkey -R -a "1"-"9" digit-argument
bindkey -a ";" vi-repeat-find
bindkey -a "<" vi-unindent
bindkey -a "=" list-choices
bindkey -a ">" vi-indent
bindkey -a "?" vi-history-search-forward
bindkey -a "A" vi-add-eol
bindkey -a "B" vi-backward-blank-word
bindkey -a "C" vi-change-eol
bindkey -a "D" vi-kill-eol
bindkey -a "E" vi-forward-blank-word-end
bindkey -a "F" vi-find-prev-char
bindkey -a "G" vi-fetch-history
bindkey -a "I" vi-insert-bol
bindkey -a "J" vi-join
bindkey -a "N" vi-rev-repeat-search
bindkey -a "O" vi-open-line-above
bindkey -a "P" vi-put-before
bindkey -a "R" vi-replace
bindkey -a "S" vi-change-whole-line
bindkey -a "T" vi-find-prev-char-skip
bindkey -a "W" vi-forward-blank-word
bindkey -a "X" vi-backward-delete-char
bindkey -a "Y" vi-yank-whole-line
bindkey -a "\^" vi-first-non-blank
bindkey -a "\`" vi-goto-mark
bindkey -a "a" vi-add-next
bindkey -a "b" vi-backward-word
bindkey -a "c" vi-change
bindkey -a "d" vi-delete
bindkey -a "e" vi-forward-word-end
bindkey -a "f" vi-find-next-char
bindkey -a "h" vi-backward-char
bindkey -a "i" vi-insert
bindkey -a "j" down-line-or-history
bindkey -a "k" up-line-or-history
bindkey -a "l" vi-forward-char
bindkey -a "m" vi-set-mark
bindkey -a "n" vi-repeat-search
bindkey -a "o" vi-open-line-below
bindkey -a "p" vi-put-after
bindkey -a "r" vi-replace-chars
bindkey -a "s" vi-substitute
bindkey -a "t" vi-find-next-char-skip
bindkey -a "u" vi-undo-change
bindkey -a "w" vi-forward-word
bindkey -a "x" vi-delete-char
bindkey -a "y" vi-yank
bindkey -a "|" vi-goto-column
bindkey -a "~" vi-swap-case
bindkey -a "^?" vi-backward-char

bindkey -R -M viins "^A"-"^C" self-insert
bindkey -M viins "^D" list-choices
bindkey -R -M viins "^E"-"^F" self-insert
bindkey -M viins "^G" list-expand
bindkey -M viins "^H" vi-backward-delete-char
bindkey -M viins "^I" expand-or-complete
bindkey -M viins "^J" accept-line
bindkey -M viins "^K" self-insert
bindkey -M viins "^L" clear-screen
bindkey -M viins "^M" accept-line
bindkey -R -M viins "^N"-"^P" self-insert
bindkey -M viins "^Q" vi-quoted-insert
bindkey -M viins "^R" redisplay
bindkey -R -M viins "^S"-"^T" self-insert
bindkey -M viins "^U" vi-kill-line
bindkey -M viins "^V" vi-quoted-insert
bindkey -M viins "^W" vi-backward-kill-word
bindkey -R -M viins "^X"-"^Z" self-insert
bindkey -M viins "^[" vi-cmd-mode
bindkey -R -M viins "^\\\\"-"~" self-insert
bindkey -M viins "^?" vi-backward-delete-char
bindkey -R -M viins "\M-^@"-"\M-^?" self-insert

# Completions.

compctl -C -c -tn
compctl -D -f -tn
compctl -T

# Undefined functions.


# Defined functions.


# Limits.

limit datasize        1968MB
limit stacksize       79MB
limit coredumpsize    2047MB
limit descriptors     2048
limit cachedthreads   64

# Modules.

zmodload -d zsh/complete zsh/zle
zmodload -d zsh/compctl zsh/complete zsh/zle
zmodload -d zsh/complist zsh/complete zsh/zle
zmodload -d zsh/zutil zsh/complete
zmodload -d zsh/computil zsh/complete zsh/zle
zmodload -d zsh/zleparameter zsh/zle
zmodload -d compctl zsh/compctl
zmodload -d complete zsh/complete
zmodload -d complist zsh/complist
zmodload -d computil zsh/computil
zmodload -d parameter zsh/parameter
zmodload -d rlimits zsh/rlimits
zmodload -d sched zsh/sched
zmodload -d zle zsh/zle
zmodload -d zleparameter zsh/zleparameter
zmodload -d zutil zsh/zutil

zmodload -ab zsh/sched sched
zmodload -ab zsh/zutil zparseopts
zmodload -ab zsh/computil comptags
zmodload -ab zsh/computil compdescribe
zmodload -ab zsh/zutil zregexparse
zmodload -ab zsh/computil comparguments
zmodload -ab zsh/zutil zstyle
zmodload -ab zsh/computil comptry
zmodload -ab zsh/computil compvalues
zmodload -ab zsh/computil compquote
zmodload -ab zsh/zutil zformat


zmodload -ap zsh/parameter aliases
zmodload -ap zsh/parameter builtins
zmodload -ap zsh/parameter commands
zmodload -ap zsh/parameter dirstack
zmodload -ap zsh/parameter dis_aliases
zmodload -ap zsh/parameter dis_builtins
zmodload -ap zsh/parameter dis_functions
zmodload -ap zsh/parameter dis_galiases
zmodload -ap zsh/parameter dis_reswords
zmodload -ap zsh/parameter funcstack
zmodload -ap zsh/parameter functions
zmodload -ap zsh/parameter galiases
zmodload -ap zsh/parameter history
zmodload -ap zsh/parameter historywords
zmodload -ap zsh/parameter jobdirs
zmodload -ap zsh/parameter jobstates
zmodload -ap zsh/parameter jobtexts
zmodload -ap zsh/zleparameter keymaps
zmodload -ap zsh/parameter modules
zmodload -ap zsh/parameter nameddirs
zmodload -ap zsh/parameter options
zmodload -ap zsh/parameter parameters
zmodload -ap zsh/parameter reswords
zmodload -ap zsh/parameter userdirs
zmodload -ap zsh/zleparameter widgets

zmodload zsh/complete
zmodload zsh/compctl
zmodload zsh/main
zmodload zsh/zle
zmodload zsh/rlimits

# Non-array variables.

ARGC=0
AWK='awk'
BAUD='0'
CDPATH=''
COLUMNS='80'
CPP='/lib/cpp'
CPUTYPE='9000/785'
EDITOR='vi'
EGID='20'
ENV_RUN_DATE='200106'
ERASE='^H'
ERRNO='3'
EUID='101'
FCEDIT='vi'
FIGNORE=''
FPATH='/usr/share/zsh/site-functions:/usr/share/zsh/3.1.9/functions'
GID='20'
HISTCHARS='!^#'
HISTSIZE='30'
HOME='/home/dummy'
HOST='hpesande.fc.hp.com'
IFS=' 	
'
KEYTIMEOUT='40'
LINENO='360'
LINES='40'
LISTMAX='100'
LOGCHECK='60'
LOGNAME='dummy'
MACHTYPE='hppa2.0'
MAIL='/var/mail/dummy'
MAILCHECK='60'
MAILPATH=''
MANPATH='/opt/perl5/man:/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/prm/man/%L:/opt/prm/man:/opt/resmon/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/aCC/share/man/%L:/opt/aCC/share/man:/opt/imake/man:/opt/graphics/starbase/share/man:/opt/socks/man:/opt/softbench/man:/opt/softbench/share/man:/opt/medusa/share/man:/opt/pwplus/share/man'
MODULE_PATH='/usr/lib/zsh/3.1.9'
NULLCMD='cat'
OLDPWD='/home/ande/src/rpms/BUILD/zsh-4.0.1/Util'
OPTARG=''
OPTIND='1'
OSTYPE='hpux10.20'
PATH='/opt/perl5/bin:/usr/local/bin:/opt/softbench/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/nettladm/bin:/opt/pd/bin:/opt/upgrade/bin:/opt/hparray/bin:/opt/prm/bin:/opt/resmon/bin:/opt/langtools/bin:/opt/aCC/bin:/opt/imake/bin:/opt/coe/acu/sbin:/opt/coe/bin:/opt/coe/ipm/sbin:/opt/coe/ipm/bin:/usr/contrib/bin:/opt/pwplus/bin:/usr/sbin'
POSTEDIT=''
PPID='11032'
PROMPT=''
PROMPT2=''
PROMPT3='?# '
PROMPT4='+%N:%i> '
PS1=''
PS2=''
PS3='?# '
PS4='+%N:%i> '
PSVAR=''
PWD='/home/ande/src/rpms/BUILD/zsh-4.0.1/Util'
RANDOM='26127'
READNULLCMD='more'
RPROMPT=''
RPS1=''
SECONDS='0'
SHELL='/bin/zsh'
SHLVL='2'
SPROMPT='zsh: correct '\''%R'\'' to '\''%r'\'' [nyae]? '
TERM='dtterm'
TIMEFMT='%J  %U user %S system %P cpu %*E total'
TMPPREFIX='/tmp/zsh'
TTY='/dev/pts/9'
TTYIDLE='-1'
TZ='MST7MDT'
UID='101'
USERNAME='dummy'
VENDOR='hp'
WATCH=''
WATCHFMT='%n has %a %l from %m.'
WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>'
ZSH_NAME='zsh'
ZSH_VERSION='4.0.1'
histchars='!^#'
prompt=''
status='0'
prompt='test%'

# Array variables.

argv=()
cdpath=('')
fignore=('')
fpath=('/usr/share/zsh/site-functions'
'/usr/share/zsh/3.1.9/functions')
mailpath=('')
manpath=('/opt/perl5/man' '/usr/share/man/%L' '/usr/share/man'
'/usr/contrib/man/%L' '/usr/contrib/man' '/usr/local/man/%L'
'/usr/local/man' '/opt/pd/share/man/%L' '/opt/pd/share/man'
'/opt/ignite/share/man/%L' '/opt/ignite/share/man'
'/opt/hparray/share/man/%L' '/opt/hparray/share/man'
'/opt/prm/man/%L' '/opt/prm/man' '/opt/resmon/share/man'
'/opt/ansic/share/man/%L' '/opt/ansic/share/man'
'/opt/langtools/share/man/%L' '/opt/langtools/share/man'
'/opt/aCC/share/man/%L' '/opt/aCC/share/man' '/opt/imake/man'
'/opt/graphics/starbase/share/man' '/opt/socks/man'
'/opt/softbench/man' '/opt/softbench/share/man'
'/opt/medusa/share/man' '/opt/pwplus/share/man')
module_path=('/usr/lib/zsh/3.1.9')
path=('/opt/perl5/bin' '/usr/local/bin' '/opt/softbench/bin'
'/usr/bin' '/opt/ansic/bin' '/usr/ccs/bin' '/opt/nettladm/bin'
'/opt/pd/bin' '/opt/upgrade/bin' '/opt/hparray/bin'
'/opt/prm/bin' '/opt/resmon/bin' '/opt/langtools/bin'
'/opt/aCC/bin' '/opt/imake/bin' '/opt/coe/acu/sbin'
'/opt/coe/bin' '/opt/coe/ipm/sbin' '/opt/coe/ipm/bin'
'/usr/contrib/bin' '/opt/pwplus/bin' '/usr/sbin')
pipestatus=('0')
psvar=('')
signals=('EXIT' 'HUP' 'INT' 'QUIT' 'ILL' 'TRAP' 'ABRT' 'EMT'
'FPE' 'KILL' 'BUS' 'SEGV' 'SYS' 'PIPE' 'ALRM' 'TERM' 'USR1'
'USR2' 'CHLD' 'PWR' 'VTALRM' 'PROF' 'IO' 'WINCH' 'STOP' 'TSTP'
'CONT' 'TTIN' 'TTOU' 'URG' 'LOST' 'RESERVE' 'DIL' 'XCPU' 'XFSZ'
'ZERR' 'DEBUG')
watch=('')

# Exported variables.

export COLUMNS
export EDITOR
export ENV_RUN_DATE
export ERASE
export HOME
export LINES
export LOGNAME
export MAIL
export MANPATH
export OLDPWD
export PATH
export PWD
export SHELL
export SHLVL
export TERM
export TZ

# Setopt.


# Styles.


# END zsh saveset


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/


^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <1010605064402.ZM4270@candle.brasslantern.com>]
* Re: HP-UX 11.00 tgetenv dilemma
@ 2001-06-11 18:24 Andrej Borsenkow
  2001-06-11 22:05 ` Export problem a normal guy
  0 siblings, 1 reply; 16+ messages in thread
From: Andrej Borsenkow @ 2001-06-11 18:24 UTC (permalink / raw)
  To: a normal guy; +Cc: ZSH Workers Mailing List

a normal guy wrote:

> Andrej
> 
> At the risk of sounding ignorant, what does SUS stand for?  I
> assume it is the governing document for POSIX compatibility or
> the like.  Thanks,
> 



Single Unix Specification a.k.a. Unix 98 (current version). It is a 
superset of XPG (X/Open Portability Guide) that itself is superset of 
POSIX. It has a big advantage of being available online as opposed to 
either XPG or POSIX :-)


> 
> P.S.  What is the latest line of thought about the Export word
> splitting problem?  To fix or not to fix?
> 


It is not bug - it complies with standards. Granted, there are 
compatibility issues (both ksh and bash behave the way you desire), but 
so far you are the first person to note it :-) That does not mean I am 
opposed to "fixing" it - I just have no idea how easy (or difficult) it is.

-andrej


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2001-06-11 22:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-04 18:30 Export problem a normal guy
2001-06-04 18:42 ` Geoff Wing
2001-06-05  5:18   ` Andrej Borsenkow
2001-06-05  9:35     ` Peter Stephenson
2001-06-06  7:51       ` Clint Adams
2001-06-06  8:18         ` Andrej Borsenkow
2001-06-06 13:48           ` Clint Adams
2001-06-06 14:41             ` Andrej Borsenkow
2001-06-06 15:23               ` Clint Adams
2001-06-06  8:27       ` Andrej Borsenkow
2001-06-05  9:39     ` Peter Stephenson
2001-06-05 10:16       ` Andrej Borsenkow
     [not found] <1010605064402.ZM4270@candle.brasslantern.com>
2001-06-05 15:52 ` a normal guy
2001-06-06  5:56   ` Andrej Borsenkow
2001-06-06 10:06     ` Bart Schaefer
2001-06-11 18:24 HP-UX 11.00 tgetenv dilemma Andrej Borsenkow
2001-06-11 22:05 ` Export problem a normal guy

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).