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

 
 

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

Submitted by:  J <now3d>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.5