mainThe GNU Bourne-Again SHell - Support: sr #109579, tab expansion gives strange error...

 
 

sr #109579: tab expansion gives strange error when no space on device

Submitter:  J <now3d>
Submitted:  Sun 04 Nov 2018 07:32:14 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 15 Nov 2018 03:56:19 PM UTC, comment #1: 

It does tell you what kind of temp file it's creating: the one to store here-document contents. It's always a good idea to say what the shell is trying to do when it prints an error message, so the user has a hint about where the problem might be.

Chet Ramey <chet>
Group administrator
Sun 04 Nov 2018 07:32:14 PM UTC, original submission:  

Hello

I saw that if no space left in /tmp bash gives strange errors. Could it skip this "here-document" message and just say "No space left on device" ?

Or maybe specify what kind of temp file it was creating.

$ ls
misc  help
ubuntu@ip-172-31-17-169:~$ cd -bash: cannot create temp file for here-document: No space left on device
-bash: cannot create temp file for here-document: No space left on device
-bash: cannot create temp file for here-document: No space left on device
-bash: cannot create temp file for here-document: No space left on device
-bash: cannot create temp file for here-document: No space left on device
-bash: cannot create temp file for here-document: No space left on device
-bash: cannot create temp file for here-document: No space left on device
-bash: cannot create temp file for here-document: No space left on device

J <now3d>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chet (Posted a comment)
  • -email is unavailable- added by now3d (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-15 chet StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code