View Issue Details

IDProjectCategoryView StatusLast Update
0000597tcshgeneralpublic2017-02-20 08:47
ReporterJamie Landeg-Jones 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version6.20.00 
Target VersionFixed in Version 
Summary0000597: tcsh: "rmstar" option ignored when rm alias set
DescriptionIf you alias rm, the "rmstar" option no longer works.

See example
Steps To Reproduce | Script started on Sat Jan 14 12:43:59 2017
 |
 | 12:44 [3] (1) "cc" root@lapcat# echo $version
 | tcsh 6.20.00 (Astron) 2016-11-24 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec
 |
 | 12:44 [3] (2) "cc" root@lapcat# unalias rm
 |
 | 12:44 [3] (3) "cc" root@lapcat# unset rmstar
 |
 | 12:44 [3] (4) "cc" root@lapcat# l
 | total 8
 | 4 drwxr-x--- 2 root jamie - 512 14 Jan 12:43 ./
 | 4 drwxr-xr-x 8 jamie jamie - 512 14 Jan 12:41 ../
 |
 | 12:44 [3] (5) "cc" root@lapcat# touch a b c
 |
 | 12:44 [3] (6) "cc" root@lapcat# l
 | total 8
 | 4 drwxr-x--- 2 root jamie - 512 14 Jan 12:44 ./
 | 4 drwxr-xr-x 8 jamie jamie - 512 14 Jan 12:41 ../
 | 0 -rw-r----- 1 root jamie - 0 14 Jan 12:44 a
 | 0 -rw-r----- 1 root jamie - 0 14 Jan 12:44 b
 | 0 -rw-r----- 1 root jamie - 0 14 Jan 12:44 c
 |
 | 12:44 [3] (7) "cc" root@lapcat# rm *
 |
 | 12:44 [3] (8) "cc" root@lapcat# l
 | total 8
 | 4 drwxr-x--- 2 root jamie - 512 14 Jan 12:44 ./
 | 4 drwxr-xr-x 8 jamie jamie - 512 14 Jan 12:41 ../
 |
 | 12:44 [3] (9) "cc" root@lapcat#
 |
 | 12:44 [3] (9) "cc" root@lapcat# set rmstar
 |
 | 12:44 [3] (10) "cc" root@lapcat# touch a b c
 |
 | 12:44 [3] (11) "cc" root@lapcat# rm *
 | Do you really want to delete all files? [N/y]
 |
 | 12:44 [3] (12) "cc" root@lapcat# l
 | total 8
 | 4 drwxr-x--- 2 root jamie - 512 14 Jan 12:44 ./
 | 4 drwxr-xr-x 8 jamie jamie - 512 14 Jan 12:41 ../
 | 0 -rw-r----- 1 root jamie - 0 14 Jan 12:44 a
 | 0 -rw-r----- 1 root jamie - 0 14 Jan 12:44 b
 | 0 -rw-r----- 1 root jamie - 0 14 Jan 12:44 c
 |
 | 12:44 [3] (13) "cc" root@lapcat# rm *
 | Do you really want to delete all files? [N/y] y
 |
 | 12:44 [3] (14) "cc" root@lapcat# l
 | total 8
 | 4 drwxr-x--- 2 root jamie - 512 14 Jan 12:44 ./
 | 4 drwxr-xr-x 8 jamie jamie - 512 14 Jan 12:41 ../
 |
 | 12:44 [3] (15) "cc" root@lapcat# touch a b c
 |
 | 12:44 [3] (16) "cc" root@lapcat# rm -v *
 | Do you really want to delete all files? [N/y] y
 | a
 | b
 | c
 |
 | 12:45 [3] (17) "cc" root@lapcat# l
 | total 8
 | 4 drwxr-x--- 2 root jamie - 512 14 Jan 12:45 ./
 | 4 drwxr-xr-x 8 jamie jamie - 512 14 Jan 12:41 ../
 |
 | 12:45 [3] (18) "cc" root@lapcat# alias rm 'rm -v'
 |
 | 12:45 [3] (19) "cc" root@lapcat#
 |
 | 12:45 [3] (19) "cc" root@lapcat# touch a b c
 |
 | 12:45 [3] (20) "cc" root@lapcat# l
 | total 8
 | 4 drwxr-x--- 2 root jamie - 512 14 Jan 12:45 ./
 | 4 drwxr-xr-x 8 jamie jamie - 512 14 Jan 12:41 ../
 | 0 -rw-r----- 1 root jamie - 0 14 Jan 12:45 a
 | 0 -rw-r----- 1 root jamie - 0 14 Jan 12:45 b
 | 0 -rw-r----- 1 root jamie - 0 14 Jan 12:45 c
 |
 | 12:45 [3] (21) "cc" root@lapcat# rm *
 | a
 | b
 | c
 |
 | 12:45 [3] (22) "cc" root@lapcat# l
 | total 8
 | 4 drwxr-x--- 2 root jamie - 512 14 Jan 12:45 ./
 | 4 drwxr-xr-x 8 jamie jamie - 512 14 Jan 12:41 ../
 |
 | 12:45 [3] (23) "cc" root@lapcat# set|grep rms
 | rmstar
 |
 | 12:45 [3] (24) "cc" root@lapcat# exit
TagsNo tags attached.

Relationships

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-02-20 08:47 Jamie Landeg-Jones New Issue