Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
2 7
Newest
 Editor
Impact
~10k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
2d
comment Easiest way to find missing quote in a bash a script?
@mikeserv - can you expand on 'the line numbers are fine - each function gets its own'? There are certainly no functions that are 693 lines long (unless you count the script itself as a function). If the error is not at or between the two reported lines, that doesn't seem fine to me. If there is some method to derive/divine the actual failing line (or even the start of the failing compound command) from the line numbers reported by bash, maybe that would be a good start.
May
24
comment Easiest way to find missing quote in a bash a script?
Yes vim does do a reasonable job...eventually. First had to stop it ignoring :syntax on by installing vim-enhanced over vim-minimal (thanks Fedora!), then had to force it into a decent color scheme, since dark blue was actually visible (thanks LXTerminal!). After that, vim did highlight missing braces with a nice red background!
May
24
awarded  Editor
May
24
comment Easiest way to find missing quote in a bash a script?
Was actually a missing } inside a quoted string, which Geany's colourising did not spot.
May
24
revised Easiest way to find missing quote in a bash a script?
added 355 characters in body; added 61 characters in body
May
24
asked Easiest way to find missing quote in a bash a script?
Apr
12
awarded  Notable Question
Aug
7
awarded  Popular Question
Jul
22
answered Fetching Remote Windows System Information From Linux Server
Apr
15
answered Two arrays have slightly different array size with same size disks/partitions, why?
Mar
13
awarded  Notable Question
Feb
4
awarded  Tumbleweed
Jan
24
comment Is there any way to do a CentOS minimal install without LVM / ext4?
Found it: discussions.citrix.com/topic/… -- I need to add vnc to the advanced boot parameters, simply using the default graphical won't do it. It even describes my problem with disk partitioning!
Jan
24
accepted Is there any way to do a CentOS minimal install without LVM / ext4?
Jan
24
comment Is there any way to do a CentOS minimal install without LVM / ext4?
Then I guess this is a XenServer issue because, despite allocating 2GB+ to the VM, it is booting into text mode. Oh well.
Jan
24
awarded  Scholar
Jan
24
accepted Using autofs to mount under each users' home directory
Jan
24
comment Is there any way to do a CentOS minimal install without LVM / ext4?
Can you get the GUI installer to run from the minimal ISO?
Jan
24
asked Is there any way to do a CentOS minimal install without LVM / ext4?
Dec
13
awarded  Supporter